IDTrait
Initialize the unique identifier (id) of the object.
Table of Contents
Constants
- ID = 'id'
- The 'id' parameter.
Properties
- $id : null|int|string
- The unique identifier of the command.
Methods
- initializeID() : static
- Initialize the unique identifier of the command.
Constants
ID
The 'id' parameter.
public
mixed
ID
= 'id'
Properties
$id
The unique identifier of the command.
public
null|int|string
$id
= null
Methods
initializeID()
Initialize the unique identifier of the command.
public
initializeID([array<string|int, mixed> $init = [] ][, ContainerInterface|null $container = null ]) : static
Parameters
- $init : array<string|int, mixed> = []
-
Optional initialization array
- $container : ContainerInterface|null = null