protected function registerPsrRequest()
    {
        $this->app->bind(ServerRequestInterface::class, function ($app) {
            return (new DiactorosFactory)->createRequest($app->make('request'));
        });
    }
protected function registerPsrRequest()
    {
        $this->app->bind(ServerRequestInterface::class, function ($app) {
            return (new DiactorosFactory)->createRequest($app->make('request'));
        });
    }
protected function registerPsrRequest ( ) { $ this -> app -> bind ( ServerRequestInterface :: class , function ( $ app ) { return ( new DiactorosFactory ) -> createRequest ( $ app -> make ( 'request' ) ) ; } ) ; }
Register a binding for the PSR-7 request implementation.

@return void
Register a binding for the PSR - 7 request implementation .