ItemListInterface
ItemListInterface.php
:
17
Interface
Extends
Traversable, Countable
Methods¶
filter()
¶
ItemListInterface.php
:
31
Returns a new ItemInterface collection containing matched elements.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $predicate | callable | - | - |
Return values
self
first()
¶
ItemListInterface.php
:
41
|
|
|
Return values
Tags
get()
¶
ItemListInterface.php
:
22
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
| $language | string | - | - |
Return values
Tags
has()
¶
ItemListInterface.php
:
24
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
| $language | string | - | - |
Return values
bool
slice()
¶
ItemListInterface.php
:
36
Returns a new ItemInterface collection sliced of $length elements starting at position $offset.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $offset | int | - | - |
| $length | int|null | null | - |
Return values
self