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

@return  App
Initiate PSR - 7 response object