Cardinality
in package
implements
Stringable
Read onlyYes
FinalYes
How many times a substructure may occur, e.g. {0:1}, {1:M}.
Table of Contents
Interfaces
- Stringable
Properties
Methods
- __construct() : mixed
- __toString() : string
- isRequired() : bool
Properties
$max
public
int|null
$max
$min
public
int
$min
Methods
__construct()
public
__construct(int $min, int|null $max) : mixed
Parameters
- $min : int
- $max : int|null
-
null for "M" (unbounded)
__toString()
public
__toString() : string
Return values
stringisRequired()
public
isRequired() : bool