UserResourceEntityInterface
extends
EntityInterface
in
Entity model interface for user_resource table
Tags
Table of Contents
- getId() : int|null
- Get identifier (returns null for an uninitialized or non-persisted object).
- getNotes() : string|null
- Get notes.
- getResource() : ResourceEntityInterface
- Get resource.
- getSaved() : DateTime
- Get saved date.
- getUser() : UserEntityInterface
- Get user.
- getUserList() : UserListEntityInterface|null
- Get user list.
- setNotes() : UserResourceEntityInterface
- Set notes.
- setResource() : UserResourceEntityInterface
- Set resource.
- setSaved() : UserResourceEntityInterface
- Set saved date.
- setUser() : UserResourceEntityInterface
- Set user.
- setUserList() : UserResourceEntityInterface
- Set user list.
Methods
getId()
Get identifier (returns null for an uninitialized or non-persisted object).
public
getId() : int|null
Return values
int|null —getNotes()
Get notes.
public
getNotes() : string|null
Return values
string|null —getResource()
Get resource.
public
getResource() : ResourceEntityInterface
Return values
ResourceEntityInterface —getSaved()
Get saved date.
public
getSaved() : DateTime
Return values
DateTime —getUser()
Get user.
public
getUser() : UserEntityInterface
Return values
UserEntityInterface —getUserList()
Get user list.
public
getUserList() : UserListEntityInterface|null
Return values
UserListEntityInterface|null —setNotes()
Set notes.
public
setNotes(string|null $notes) : UserResourceEntityInterface
Parameters
- $notes : string|null
-
Notes associated with the resource
Return values
UserResourceEntityInterface —setResource()
Set resource.
public
setResource(ResourceEntityInterface $resource) : UserResourceEntityInterface
Parameters
- $resource : ResourceEntityInterface
-
Resource
Return values
UserResourceEntityInterface —setSaved()
Set saved date.
public
setSaved(DateTime $dateTime) : UserResourceEntityInterface
Parameters
- $dateTime : DateTime
-
Created date
Return values
UserResourceEntityInterface —setUser()
Set user.
public
setUser(UserEntityInterface $user) : UserResourceEntityInterface
Parameters
- $user : UserEntityInterface
-
User
Return values
UserResourceEntityInterface —setUserList()
Set user list.
public
setUserList(UserListEntityInterface|null $list) : UserResourceEntityInterface
Parameters
- $list : UserListEntityInterface|null
-
User list