protected function registerToken()
    {
        $this->app->singleton('api.token', function ($app) {
            return new Token($app['api.client']);
        });

        $this->app->alias('api.token', Token::class);
    }
protected function registerToken()
    {
        $this->app->singleton('api.token', function ($app) {
            return new Token($app['api.client']);
        });

        $this->app->alias('api.token', Token::class);
    }
protected function registerToken ( ) { $ this -> app -> singleton ( 'api.token' , function ( $ app ) { return new Token ( $ app [ 'api.client' ] ) ; } ) ; $ this -> app -> alias ( 'api.token' , Token :: class ) ; }
Register the Token singleton.

@return void
Register the Token singleton .