Метод |
Описание |
|
allowsCallOfMethod ( string $methodName ) : boolean |
All methods are considered safe |
|
filter ( array | Doctrine\Common\Collections\Collection $set, string $filterProperty ) : array |
Filter an array of objects, by only keeping the elements where each object's $filterProperty evaluates to TRUE. |
|
filterNegated ( array | Doctrine\Common\Collections\Collection $set, string $filterProperty ) : array |
Filter an array of objects, by only keeping the elements where each object's $filterProperty evaluates to FALSE. |
|
groupBy ( array | Doctrine\Common\Collections\Collection $set, string $groupingKey ) : array |
The input is assumed to be an array or Collection of objects. Groups this input by the $groupingKey property of each element. |
|