protected function doMatch(MatcherInterface $matcher, View $view) { if (!$view instanceof ContentValueView) { throw new InvalidArgumentException('View must be a ContentValueView instance'); } return $matcher->match($view); }