public function getBaseResponse()
    {
        if (!isset($this->baseResponse)) {
            $this->baseResponse = new Response();
        }
        
        $response = $this->baseResponse;
        
        if ($response instanceof GlobalEnvironmentInterface && $response->isStale() === false) {
            $response = $response->withGlobalEnvironment(true); // Make sure base response is stale
        }
        
        return $response;
    }
public function getBaseResponse()
    {
        if (!isset($this->baseResponse)) {
            $this->baseResponse = new Response();
        }
        
        $response = $this->baseResponse;
        
        if ($response instanceof GlobalEnvironmentInterface && $response->isStale() === false) {
            $response = $response->withGlobalEnvironment(true); // Make sure base response is stale
        }
        
        return $response;
    }
public function getBaseResponse ( ) { if ( ! isset ( $ this -> baseResponse ) ) { $ this -> baseResponse = new Response ( ) ; } $ response = $ this -> baseResponse ; if ( $ response instanceof GlobalEnvironmentInterface && $ response -> isStale ( ) === false ) { $ response = $ response -> withGlobalEnvironment ( true ) ; // Make sure base response is stale } return $ response ; }
Get the base response

@return ResponseInterface
Get the base response