MetaItemInterface
Meta item interface
Methods
attach()
Attaches the given item
public
attach(ItemInterface $item) : mixed
Parameters
- $item : ItemInterface
-
The Item to add
detach()
Detaches the given item
public
detach(ItemInterface $item) : mixed
Parameters
- $item : ItemInterface
-
The Item to remove
meta()
Retrieves all attached meta items
public
meta() : ItemCollection
Return values
ItemCollection —A collection containing the items