RequiredFieldsCollection
implements
Item, ItemCollection, IteratorAggregate, Countable, JsonSerializable
-
implements
-
Table of Contents
Interfaces
- Item
- ItemCollection
- IteratorAggregate
- Countable
- JsonSerializable
Methods
-
__construct()
: mixed
-
add()
: self
-
all()
: array<int, RequiredField>
-
count()
: int
-
createFromJsonArray()
: static
-
current()
: RequiredField|null
-
getIterator()
: ArrayIterator
-
isEmpty()
: bool
-
jsonSerialize()
: array<string|int, mixed>
-
key()
: int
-
next()
: void
-
rewind()
: void
-
toArray()
: array<string|int, T>
-
valid()
: bool
__construct()
public
__construct(RequiredField ...$items) : mixed
Parameters
-
$items
: RequiredField
-
add()
public
add(RequiredField $item) : self
Parameters
-
$item
: RequiredField
-
all()
public
all() : array<int, RequiredField>
count()
public
count() : int
createFromJsonArray()
public
static createFromJsonArray(array<string|int, mixed> $decodedFields) : static
Parameters
-
$decodedFields
: array<string|int, mixed>
-
current()
public
current() : RequiredField|null
getIterator()
public
getIterator() : ArrayIterator
Return values
ArrayIterator
isEmpty()
public
isEmpty() : bool
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
key()
public
key() : int
next()
public
next() : void
rewind()
public
rewind() : void
toArray()
public
toArray() : array<string|int, T>
Return values
array<string|int, T>
valid()
public
valid() : bool