Korin API

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

$max  : int|null
$min  : int

Methods

__construct()  : mixed
__toString()  : string
isRequired()  : bool

Properties

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
string

isRequired()

public isRequired() : bool
Return values
bool
On this page

Search results