EasyCorp\Bundle\EasySecurityBundle\Security\Security::isGranted PHP Метод

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

Checks if the attributes (usually security roles) are granted for the current application user and the optional given object.
public isGranted ( mixed $attributes, mixed $object = null ) : boolean
$attributes mixed
$object mixed
Результат boolean
    public function isGranted($attributes, $object = null)
    {
        return $this->authorizationChecker->isGranted($attributes, $object);
    }