response = $response; } /** * @inheritDoc */ public function cancel(bool $force = false): void { throw new CancelingDeferredException('Cannot be canceled'); } /** * @inheritDoc */ public function isCancelled(): bool { return false; } /** * @inheritDoc */ public function isDone(): bool { return true; } /** * @inheritDoc */ public function get(): Response { return $this->response; } }