From 5bc503dcb11de383184c4c28c85b694008b54e6e Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Fri, 16 Nov 2012 07:03:29 -0600 Subject: [PATCH] [#1868] Adding a versionadded for the new AcceptHeader class --- components/http_foundation/introduction.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/http_foundation/introduction.rst b/components/http_foundation/introduction.rst index f3720d6a3fa..1831c480f96 100644 --- a/components/http_foundation/introduction.rst +++ b/components/http_foundation/introduction.rst @@ -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::