Role
in package
Class Role
Represents a user role within the application.
Table of Contents
Properties
- $created : DateTime
- $created : DateTime
- $displayName : string
- $displayName : string
- $id : int
- $id : int
- $modified : DateTime|null
- $modified : DateTime|null
Methods
- __construct() : mixed
Properties
$created
public
DateTime
$created
The date and time when the role was created.
$created
public
DateTime
$created
$displayName
public
string
$displayName
The display name of the role.
$displayName
public
string
$displayName
$id
public
int
$id
The unique identifier for the role.
$id
public
int
$id
$modified
public
DateTime|null
$modified
The date and time when the role was last modified, or null if it has not been modified.
$modified
public
DateTime|null
$modified
Methods
__construct()
public
__construct(int $id, string $displayName, DateTime $created[, DateTime|null $modified = null ]) : mixed
Parameters
- $id : int
- $displayName : string
- $created : DateTime
- $modified : DateTime|null = null