src/Framework/App.php
private function initRequest(): App
    {
        try {
            $request = ServerRequestFactory::fromGlobals();
            $this->containers()->set('request', $request);
        } catch (\InvalidArgumentException $e) {
            new Exception($e);
        }
        return $this;
    }
private function initRequest(): App
    {
        try {
            $request = ServerRequestFactory::fromGlobals();
            $this->containers()->set('request', $request);
        } catch (\InvalidArgumentException $e) {
            new Exception($e);
        }
        return $this;
    }
private function initRequest ( ) : App { try { $ request = ServerRequestFactory :: fromGlobals ( ) ; $ this -> containers ( ) -> set ( 'request' , $ request ) ; } catch ( \ InvalidArgumentException $ e ) { new Exception ( $ e ) ; } return $ this ; }
Initiate PSR-7 request object

@return  App
Initiate PSR - 7 request object