Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\EntityPrivilege::matchesEntityType PHP Метод

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

public matchesEntityType ( string $entityType ) : boolean
$entityType string
Результат boolean
    public function matchesEntityType($entityType)
    {
        $this->evaluateMatcher();
        if ($this->entityType === null) {
            throw new InvalidQueryRewritingConstraintException('Entity type could not be determined! This might be due to an missing entity type matcher in your privilege target definition!', 1416399447);
        }
        return $this->entityType === $entityType;
    }