public function Selectable::matching in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/collections/lib/Doctrine/Common/Collections/Selectable.php \Doctrine\Common\Collections\Selectable::matching()
Selects all elements from a selectable that match the expression and returns a new collection containing these elements.
Parameters
Criteria $criteria:
Return value
1 method overrides Selectable::matching()
- ArrayCollection::matching in vendor/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ ArrayCollection.php - Selects all elements from a selectable that match the expression and returns a new collection containing these elements.
File
- vendor/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ Selectable.php, line 47
Class
- Selectable
- Interface for collections that allow efficient filtering with an expression API.
Namespace
Doctrine\Common\CollectionsCode
public function matching(Criteria $criteria);