Choice Class¶
- class Choice¶
Represents a Choice
Implements
StateInterface- __construct(?string $id)¶
Create a Choice
- Parameters:
$id (
?string) – The state id (default: auto-generate)
- Returns:
An instance of
Choice- Return type:
Represents a Choice
Implements StateInterface
Create a Choice
$id (?string) – The state id (default: auto-generate)
An instance of Choice