Table of Contents
Interfaces
- ItemCollection
- Item
Methods
-
__construct()
: mixed
-
addItem()
: self
-
existWithName()
: bool
-
findByTypeAndParty()
: Field|null
-
toArray()
: array<string|int, T>
__construct()
public
__construct(Field ...$items) : mixed
Parameters
-
$items
: Field
-
addItem()
public
addItem(Field $item) : self
Parameters
-
$item
: Field
-
existWithName()
public
existWithName(string $name) : bool
Parameters
-
$name
: string
-
findByTypeAndParty()
public
findByTypeAndParty(string $type, int $party) : Field|null
Parameters
-
$type
: string
-
-
$party
: int
-
toArray()
public
toArray() : array<string|int, T>
Return values
array<string|int, T>