eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\Id\ContentTypeGroup::matchContentTypeId PHP Method

matchContentTypeId() private method

private matchContentTypeId ( $contentTypeId ) : boolean
return boolean
    private function matchContentTypeId($contentTypeId)
    {
        $contentTypeGroups = $this->repository->getContentTypeService()->loadContentType($contentTypeId)->getContentTypeGroups();
        foreach ($contentTypeGroups as $group) {
            if (isset($this->values[$group->id])) {
                return true;
            }
        }
        return false;
    }