Skip to content

Commit 2dc7830

Browse files
javiereguiluzxabbuh
authored andcommitted
minor #8704 Client's history clear alternative (takman1)
This PR was squashed before being merged into the 3.3 branch (closes #8704). Discussion ---------- Client's history clear alternative Another way to clear client's history. Commits ------- 153b7f7 Client's history clear alternative
1 parent 6c624e9 commit 2dc7830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/browser_kit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ also delete all the cookies::
225225
$client = new Client();
226226
$client->request('GET', '/');
227227

228-
// delete history
228+
// reset the client (history and cookies are cleared too)
229229
$client->restart();
230230

231231
Learn more

0 commit comments

Comments
 (0)