AuthorizerInterface
interface AuthorizerInterface
Authorizer interface.
Methods
                    registerPolicy(string $entityClass, string $policyClass)
        
                                            
                
            Registers an authorization policy.
                    bool
                
                
                    can(UserEntityInterface|null $user, string $action, object|string $entity, mixed ...$parameters)
        
                                            
                
            Returns TRUE if the user is allowed to perform the action on the entity.
Details
        at         line 25
                            
    registerPolicy(string $entityClass, string $policyClass)
        
    
    Registers an authorization policy.
        at         line 36
                            bool
    can(UserEntityInterface|null $user, string $action, object|string $entity, mixed ...$parameters)
        
    
    Returns TRUE if the user is allowed to perform the action on the entity.