UserActivity
in package
NewProduct
Tags
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
$controller
private
string
$controller
Tags
$createdAt
private
DateTime
$createdAt
Tags
$id
private
int
$id
Tags
$ip
private
string
$ip
Tags
$params
private
array<string|int, mixed>
$params
Tags
$user
private
User
$user
Tags
Methods
getAction()
public
getAction() : string
Return values
stringgetController()
public
getController() : string
Return values
stringgetCreatedAt()
public
getCreatedAt() : DateTime
Return values
DateTimegetId()
Get id
public
getId() : int
Return values
intgetIp()
public
getIp() : string
Return values
stringgetParams()
public
getParams() : array<string|int, mixed>
Return values
array<string|int, mixed>getUser()
public
getUser() : User
Return values
UsersetAction()
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
setIp()
public
setIp(string $ip) : mixed
Parameters
- $ip : string
setParams()
public
setParams(array<string|int, mixed> $params) : mixed
Parameters
- $params : array<string|int, mixed>
setUser()
public
setUser(User $user) : mixed
Parameters
- $user : User