protected function registerTransformerBindings()
    {
        $this->app->singleton(TransformerResolverContract::class, function ($app) {
            return new TransformerResolver($app, $app->config['responder.fallback_transformer']);
        });

        BaseTransformer::containerResolver(function () {
            return $this->app->make(Container::class);
        });
    }
protected function registerTransformerBindings()
    {
        $this->app->singleton(TransformerResolverContract::class, function ($app) {
            return new TransformerResolver($app, $app->config['responder.fallback_transformer']);
        });

        BaseTransformer::containerResolver(function () {
            return $this->app->make(Container::class);
        });
    }
protected function registerTransformerBindings ( ) { $ this -> app -> singleton ( TransformerResolverContract :: class , function ( $ app ) { return new TransformerResolver ( $ app , $ app -> config [ 'responder.fallback_transformer' ] ) ; } ) ; BaseTransformer :: containerResolver ( function ( ) { return $ this -> app -> make ( Container :: class ) ; } ) ; }
Register transformer bindings.

@return void
Register transformer bindings .