FieldValuesCollection implements ItemCollection, Item
Table of Contents
Interfaces
Properties
- $items : array<string|int, BaseFieldValue>
Methods
- __construct() : mixed
- addItem() : self
- getFirst() : BaseFieldValue|null
- toArray() : array<string|int, T>
Properties
$items
public
array<string|int, BaseFieldValue>
$items
Methods
__construct()
public
__construct(BaseFieldValue ...$items) : mixed
Parameters
- $items : BaseFieldValue
addItem()
public
addItem(BaseFieldValue $item) : self
Parameters
- $item : BaseFieldValue
Return values
selfgetFirst()
public
getFirst() : BaseFieldValue|null
Return values
BaseFieldValue|nulltoArray()
public
toArray() : array<string|int, T>