public function match(View $view) { if (!$view instanceof ContentView) { return false; } return isset($this->values[$view->getContent()->contentInfo->contentTypeId]); }