Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7be8dec

Browse files
committed
minor#7313 Documentation for Cookie::fromString (ro0NL, javiereguiluz)
This PR was merged into the master branch.Discussion----------Documentation for Cookie::fromStringSee#7278First time, be patient :)There's also 2nd argument in `fromString` controlling URL decoding, implying `Cookie::isRaw`, but i tend to leave it an implementation detail.Commits-------91329f4 Add method parenthesis09e27fa version addede233519 derpa909e28 feedback86fa70b Update http_foundation.rst
2 parents6dc4742 +91329f4 commit7be8dec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎components/http_foundation.rst‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,12 @@ method takes an instance of
378378
You can clear a cookie via the
379379
:method:`Symfony\\Component\\HttpFoundation\\ResponseHeaderBag::clearCookie` method.
380380

381+
Note you can create a
382+
:class:`Symfony\\Component\\HttpFoundation\\Cookie` object from a raw header value using:method:`Symfony\Component\HttpFoundation\Cookie::fromString`.
383+
384+
..versionadded::3.3
385+
The ``Cookie::fromString()`` method was introduced in Symfony 3.3.
386+
381387
Managing the HTTP Cache
382388
~~~~~~~~~~~~~~~~~~~~~~~
383389

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp