Neos\Neos\TypoScript\Helper\ArrayHelper::filter PHP Méthode

filter() public méthode

Filter an array of objects, by only keeping the elements where each object's $filterProperty evaluates to TRUE.
public filter ( array | Doctrine\Common\Collections\Collection $set, string $filterProperty ) : array
$set array | Doctrine\Common\Collections\Collection
$filterProperty string
Résultat array
    public function filter($set, $filterProperty)
    {
        return $this->filterInternal($set, $filterProperty, false);
    }