protected function passesAuthorization(): bool
    {
        $passes = false;

        if (\method_exists($this, 'authorize')) {
            $passes = $this->container->call([$this, 'authorize']);
        }

        return (bool) $passes;
    }
protected function passesAuthorization(): bool
    {
        $passes = false;

        if (\method_exists($this, 'authorize')) {
            $passes = $this->container->call([$this, 'authorize']);
        }

        return (bool) $passes;
    }
protected function passesAuthorization ( ) : bool { $ passes = false ; if ( \ method_exists ( $ this , 'authorize' ) ) { $ passes = $ this -> container -> call ( [ $ this , 'authorize' ] ) ; } return ( bool ) $ passes ; }
Determine if the request passes the authorization check.

@return bool
Determine if the request passes the authorization check .