public static function fromResponse(Response $response) { $jar = new self(); $jar->addFromResponse($response); return $jar; }