final class Shape extends Type

Methods

__construct(array $items, string $container = 'array')

No description

setContainer(string $name)

No description

string
getContainer()

No description

setItems(array $items)

No description

array
getItems()

No description

bool
isSupertypeOfAtomic(Type $type)

Validates if the given atomic type matches THIS acceptor.

void
__clone()

No description

Details

at line 24
__construct(array $items, string $container = 'array')

No description

Parameters

array $items
string $container

at line 31
Shape setContainer(string $name)

No description

Parameters

string $name

Return Value

Shape

at line 42
string getContainer()

No description

Return Value

string

at line 49
Shape setItems(array $items)

No description

Parameters

array $items

Return Value

Shape

at line 58
array getItems()

No description

Return Value

array

at line 64
protected bool isSupertypeOfAtomic(Type $type)

Validates if the given atomic type matches THIS acceptor.

Parameters

Type $type

Return Value

bool

at line 90
void __clone()

No description

Return Value

void