BoothItemId
in package
FinalYes
Value object representing a booth item identifier.
Table of Contents
Properties
- $value : int
Methods
- __construct() : mixed
- __toString() : string
- String representation of the identifier.
- equals() : bool
- Compare with another BoothItemId.
- value() : int
- Numeric value of the identifier.
Properties
$value
private
int
$value
Methods
__construct()
public
__construct(int $value) : mixed
Parameters
- $value : int
-
Positive identifier
Tags
__toString()
String representation of the identifier.
public
__toString() : string
Return values
stringequals()
Compare with another BoothItemId.
public
equals(BoothItemId $other) : bool
Parameters
- $other : BoothItemId
Return values
boolvalue()
Numeric value of the identifier.
public
value() : int