public function find($keyword, $subject, array $arguments) { foreach ($this->getAll() as $matcher) { if (true === $matcher->supports($keyword, $subject, $arguments)) { return $matcher; } } throw new MatcherNotFoundException($keyword); }