FieldCollection
implements
ItemCollection, Item, Countable
Table of Contents
Interfaces
- ItemCollection
- Item
- Countable
Methods
-
__construct()
: mixed
-
addItem()
: self
-
count()
: int
-
getNames()
: array<string|int, string>
-
isEmpty()
: bool
-
toArray()
: array<string|int, T>
__construct()
public
__construct(Field ...$items) : mixed
Parameters
-
$items
: Field
-
addItem()
public
addItem(Field $item) : self
Parameters
-
$item
: Field
-
count()
public
count() : int
getNames()
public
getNames() : array<string|int, string>
Return values
array<string|int, string>
isEmpty()
public
final isEmpty() : bool
toArray()
public
toArray() : array<string|int, T>
Return values
array<string|int, T>