App\Exceptions\OAuthExceptionHandler::handle PHP Method

handle() public method

public handle ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed
    public function handle(OAuthException $e)
    {
        if (method_exists($this, camel_case($e->errorType))) {
            return $this->{camel_case($e->errorType)}($e);
        }
    }