From 5443a1e3fdc61cd18a34cf468254f528db5fbfed Mon Sep 17 00:00:00 2001 From: Calex92 Date: Mon, 13 Apr 2020 14:13:07 +0200 Subject: [PATCH] The Client has been renamed to AbstractBrowser See https://github.com/symfony/browser-kit/commit/92ea0b46cb4dfaa80aba9f02d9d9532c629314ed#diff-c739086bcfd05ce1045d05813cdf8089 --- components/browser_kit.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/browser_kit.rst b/components/browser_kit.rst index bfeab500f46..d3f8dc813f8 100644 --- a/components/browser_kit.rst +++ b/components/browser_kit.rst @@ -39,13 +39,13 @@ Creating a Client The component only provides an abstract client and does not provide any backend ready to use for the HTTP layer. -To create your own client, you must extend the abstract ``Client`` class and -implement the :method:`Symfony\\Component\\BrowserKit\\Client::doRequest` method. +To create your own client, you must extend the abstract ``AbstractBrowser`` class and +implement the :method:`Symfony\\Component\\BrowserKit\\AbstractBrowser::doRequest` method. This method accepts a request and should return a response:: namespace Acme; - use Symfony\Component\BrowserKit\Client as BaseClient; + use Symfony\Component\BrowserKit\AbstractBrowser as BaseClient; use Symfony\Component\BrowserKit\Response; class Client extends BaseClient