protected function registerSerializerBindings()
    {
        $this->app->bind(ErrorSerializerContract::class, function ($app) {
            return $app->make($app->config['responder.serializers.error']);
        });

        $this->app->bind(SerializerAbstract::class, function ($app) {
            return $app->make($app->config['responder.serializers.success']);
        });
    }
protected function registerSerializerBindings()
    {
        $this->app->bind(ErrorSerializerContract::class, function ($app) {
            return $app->make($app->config['responder.serializers.error']);
        });

        $this->app->bind(SerializerAbstract::class, function ($app) {
            return $app->make($app->config['responder.serializers.success']);
        });
    }
protected function registerSerializerBindings ( ) { $ this -> app -> bind ( ErrorSerializerContract :: class , function ( $ app ) { return $ app -> make ( $ app -> config [ 'responder.serializers.error' ] ) ; } ) ; $ this -> app -> bind ( SerializerAbstract :: class , function ( $ app ) { return $ app -> make ( $ app -> config [ 'responder.serializers.success' ] ) ; } ) ; }
Register serializer bindings.

@return void
Register serializer bindings .