Example #1
0
 public function getAllTagsForFilter(Filter $filter)
 {
     $list = array();
     foreach ($filter->getTags() as $tag) {
         $list = $this->collectTagsByChild($tag, $list);
     }
     return $list;
 }
Example #2
0
 private function findMatchingByMeta(FilterEntity $filter)
 {
     return array_unique(array_map(function ($e) {
         return $e->getId();
     }, (array) $filter->getMeta()));
 }