diff --git a/src/Symfony/Contracts/HttpClient/ResponseInterface.php b/src/Symfony/Contracts/HttpClient/ResponseInterface.php index a7e01be84c28f..8091b14e44102 100644 --- a/src/Symfony/Contracts/HttpClient/ResponseInterface.php +++ b/src/Symfony/Contracts/HttpClient/ResponseInterface.php @@ -22,6 +22,8 @@ * * @author Nicolas Grekas
* + * @method void cancel() + * * @experimental in 1.1 */ interface ResponseInterface @@ -71,11 +73,6 @@ public function getContent(bool $throw = true): string; */ public function toArray(bool $throw = true): array; - /** - * Cancels the response. - */ - public function cancel(): void; - /** * Returns info coming from the transport layer. *
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: