Skip to content

Commit a909e28

Browse files
authored
feedback
1 parent 86fa70b commit a909e28

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

components/http_foundation.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -377,14 +377,9 @@ method takes an instance of
377377
You can clear a cookie via the
378378
:method:`Symfony\\Component\\HttpFoundation\\ResponseHeaderBag::clearCookie` method.
379379

380-
You can also create a
380+
Note you can create a
381381
:class:`Symfony\\Component\\HttpFoundation\\Cookie` object from a raw header value using :method:`Symfony\Component\HttpFoundation\Cookie::fromString`.
382382

383-
.. tip::
384-
385-
You can directly send the cookie from a string using
386-
``$response->headers->set('set-cookie', 'key=value; secure', $replace)``.
387-
388383
Managing the HTTP Cache
389384
~~~~~~~~~~~~~~~~~~~~~~~
390385

0 commit comments

Comments
 (0)