eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\Identifier\ParentContentType::match PHP Метод

match() публичный Метод

public match ( eZ\Publish\Core\MVC\Symfony\View\View $view )
$view eZ\Publish\Core\MVC\Symfony\View\View
    public function match(View $view)
    {
        if ($view instanceof LocationValueView) {
            return $this->matchLocation($view->getLocation());
        }
        if ($view instanceof ContentValueView) {
            return $this->matchContentInfo($view->getContent()->contentInfo);
        }
        return false;
    }