Select all elements from a selectable that match the expression and
return a new collection containing these elements.
Parameters
Criteria $criteria:
Return value
Collection
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Collections/Selectable.php, line 46
Class
- Selectable
- Interface for collections that allow efficient filtering with an expression API.
Namespace
Doctrine\Common\Collections
Code
function matching(Criteria $criteria);