You are here

public function Selectable::matching in Plug 7

Selects all elements from a selectable that match the expression and returns a new collection containing these elements.

Parameters

Criteria $criteria:

Return value

Collection

1 method overrides Selectable::matching()
ArrayCollection::matching in lib/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

lib/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\Collections

Code

public function matching(Criteria $criteria);