src/ResponderServiceProvider.php
protected function registerLumenBindings()
    {
        $this->app->singleton(ResponseFactoryContract::class, function ($app) {
            return $this->decorateResponseFactory($app->make(LumenResponseFactory::class));
        });

        $this->app->bind(Translator::class, function ($app) {
            return $app['translator'];
        });
    }
protected function registerLumenBindings()
    {
        $this->app->singleton(ResponseFactoryContract::class, function ($app) {
            return $this->decorateResponseFactory($app->make(LumenResponseFactory::class));
        });

        $this->app->bind(Translator::class, function ($app) {
            return $app['translator'];
        });
    }
Register Lumen bindings.

@return void