public static function createFromRaw($rawResponse, Response $parentResponse = null)
    {
        /** @var Response $response */
        $response = ResponseInformationHelper::createFromRaw($rawResponse, self::class);
        $response->parentResponse = $parentResponse;

        return $response;
    }
public static function createFromRaw($rawResponse, Response $parentResponse = null)
    {
        /** @var Response $response */
        $response = ResponseInformationHelper::createFromRaw($rawResponse, self::class);
        $response->parentResponse = $parentResponse;

        return $response;
    }
public static function createFromRaw ( $ rawResponse , Response $ parentResponse = null ) { /** @var Response $response */ $ response = ResponseInformationHelper :: createFromRaw ( $ rawResponse , self :: class ) ; $ response -> parentResponse = $ parentResponse ; return $ response ; }
Purely internal implementation to support backwards compatibility.

@inheritDoc
@internal
@deprecated
TODO: Can be removed when the ActionResponse no longer extends HTTP response.
Purely internal implementation to support backwards compatibility .