protected registerResponseFactory ( ) : void | ||
return | void |
protected function registerResponseFactory()
{
$this->app->singleton('api.http.response', function ($app) {
return new ResponseFactory($app[Factory::class]);
});
}