Nayjest\Collection\Extended\ObjectCollectionReadInterface
Collection read interface with additional methods for working with collection of objects.
Synopsis
interface ObjectCollectionReadInterface
extends CollectionReadInterface
{
- // methods
- public mixed findByType()
- public ObjectCollectionReadInterface filterByType()
- public ObjectCollectionReadInterface filterByProperty()
- public void findByProperty()
- public ObjectCollectionReadInterface sortByProperty()
- public array indexByProperty()
Hierarchy
Methods
public
- filterByProperty()
- filterByType() — Filters collection elements by (parent)class or interface.
- findByProperty()
- findByType() — Finds collection element by (parent) class or interface.
- indexByProperty() — Returns array indexed by specified property of collection elements.
- sortByProperty()