Skip to content

Commit

Permalink
[symfony#1868] Adding a versionadded for the new AcceptHeader class
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Nov 16, 2012
1 parent b908166 commit 5bc503d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/http_foundation/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ by using the following methods:
* :method:`Symfony\\Component\\HttpFoundation\\Request::getCharsets`:
returns the list of accepted languages ordered by descending quality;

.. versionadded:: 2.2
The :class:`Symfony\\Component\\HttpFoundation\\AcceptHeader` class is new in Symfony 2.2.

If you need to get full access to parsed data from ``Accept``, ``Accept-Language``,
``Accept-Charset`` or ``Accept-Encoding``, you can use
:class:`Symfony\\Component\\HttpFoundation\\AcceptHeader` utility class::
Expand Down

0 comments on commit 5bc503d

Please sign in to comment.