Logidav Docs

UserActivity
in package

NewProduct

Tags
ORM\Table

(name="mz_user_activity")

ORM\Entity

(repositoryClass="UserBundle\Repository\UserActivityRepository")

ORM\HasLifecycleCallbacks

()

Table of Contents

Properties

$action  : string
$controller  : string
$createdAt  : DateTime
$id  : int
$ip  : string
$params  : array<string|int, mixed>
$user  : User

Methods

getAction()  : string
getController()  : string
getCreatedAt()  : DateTime
getId()  : int
Get id
getIp()  : string
getParams()  : array<string|int, mixed>
getUser()  : User
setAction()  : mixed
setController()  : mixed
setCreatedAt()  : mixed
setCreatedAtValue()  : mixed
setIp()  : mixed
setParams()  : mixed
setUser()  : mixed

Properties

$action

private string $action
Tags
ORM\Column

(name="action", type="string")

$controller

private string $controller
Tags
ORM\Column

(name="controller", type="string")

$createdAt

private DateTime $createdAt
Tags
ORM\Column

(name="created_at", type="datetime")

$id

private int $id
Tags
ORM\Column

(name="id", type="integer")

ORM\Id
ORM\GeneratedValue

(strategy="AUTO")

$ip

private string $ip
Tags
ORM\Column

(name="ip", type="string", length=255)

$params

private array<string|int, mixed> $params
Tags
ORM\Column

(name="params", type="json_array", nullable=true)

$user

private User $user
Tags
ORM\ManyToOne

(targetEntity="UserBundle\Entity\User")

Methods

getAction()

public getAction() : string
Return values
string

getController()

public getController() : string
Return values
string

getCreatedAt()

public getCreatedAt() : DateTime
Return values
DateTime

getParams()

public getParams() : array<string|int, mixed>
Return values
array<string|int, mixed>

setAction()

public setAction(string $action) : mixed
Parameters
$action : string

setController()

public setController(string $controller) : mixed
Parameters
$controller : string

setCreatedAt()

public setCreatedAt(DateTime $createdAt) : mixed
Parameters
$createdAt : DateTime

setCreatedAtValue()

public setCreatedAtValue() : mixed
Tags
ORM\PrePersist

setIp()

public setIp(string $ip) : mixed
Parameters
$ip : string

setParams()

public setParams(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

        
On this page

Search results