FluxBB\Server\AuthorizationServer::registerAuthorizer PHP Method

registerAuthorizer() public method

Register an authorizer to be used for a given action.
public registerAuthorizer ( string $name, string $authorizerClass )
$name string
$authorizerClass string
    public function registerAuthorizer($name, $authorizerClass)
    {
        $this->authorizers[$name] = $authorizerClass;
        return $this;
    }