Lines Matching defs:matcher
35 * @var array Array of ['filter' => Filter, 'matcher' => Matcher] pairs.
42 * @var array Array of ['filter' => Filter, 'matcher' => Matcher] pairs.
97 public function addFilter(Filter $filter, Matcher $matcher)
100 'matcher' => $matcher,
105 public function prependFilter(Filter $filter, Matcher $matcher)
108 'matcher' => $matcher,
113 public function addTypeFilter(TypeFilter $filter, TypeMatcher $matcher)
116 'matcher' => $matcher,
223 /** @var Matcher $matcher */
224 $matcher = $item['matcher'];
228 if ($matcher->matches($object, $property->getName())) {
259 * 'matcher' with value of type {@see TypeMatcher}
269 /* @var TypeMatcher $matcher */
270 $matcher = $record['matcher'];
272 return $matcher->matches($var);
282 * @param array $elements Array of ['filter' => Filter, 'matcher' => Matcher] pairs.
285 * @return array|null Associative array with 2 members: 'filter' with value of type {@see TypeFilter} and 'matcher'