src/ThrottleServiceProvider.php
protected function registerTransformer()
    {
        $this->app->singleton('throttle.transformer', function () {
            return new TransformerFactory();
        });

        $this->app->alias('throttle.transformer', TransformerFactory::class);
        $this->app->alias('throttle.transformer', TransformerFactoryInterface::class);
    }
protected function registerTransformer()
    {
        $this->app->singleton('throttle.transformer', function () {
            return new TransformerFactory();
        });

        $this->app->alias('throttle.transformer', TransformerFactory::class);
        $this->app->alias('throttle.transformer', TransformerFactoryInterface::class);
    }
protected function registerTransformer ( ) { $ this -> app -> singleton ( 'throttle.transformer' , function ( ) { return new TransformerFactory ( ) ; } ) ; $ this -> app -> alias ( 'throttle.transformer' , TransformerFactory :: class ) ; $ this -> app -> alias ( 'throttle.transformer' , TransformerFactoryInterface :: class ) ; }
Register the transformer class.

@return void
Register the transformer class .