BoothId
in package
FinalYes
Value object representing a booth identifier.
Table of Contents
Properties
- $value : int
Methods
- __construct() : mixed
- __toString() : string
- String representation.
- equals() : bool
- Compare with another BoothId.
- 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.
public
__toString() : string
Return values
stringequals()
Compare with another BoothId.
public
equals(BoothId $other) : bool
Parameters
- $other : BoothId
Return values
boolvalue()
Numeric value of the identifier.
public
value() : int