From 27967c2394e7cf0ceae9a2c4fca8eb9c51995da2 Mon Sep 17 00:00:00 2001 From: kunicmarko20 Date: Sat, 10 Nov 2018 15:33:45 +0000 Subject: [PATCH] Revert "minor #9898 [HttpFoundation] Add info for getAcceptableFormats() method (AndreiIgna)" This reverts commit fbca6db693a3b6db65471547c85c12251ea8a111, reversing changes made to d161cf30f55e8062d389bb6862a619062bd94291. --- components/http_foundation.rst | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/components/http_foundation.rst b/components/http_foundation.rst index 60b164c3cd1..8cf8762deaf 100644 --- a/components/http_foundation.rst +++ b/components/http_foundation.rst @@ -290,21 +290,6 @@ by using the following methods: :method:`Symfony\\Component\\HttpFoundation\\Request::getAcceptableContentTypes` Returns the list of accepted content types ordered by descending quality. -:method:`Symfony\\Component\\HttpFoundation\\Request::getAcceptableFormats` - Returns the list of accepted client formats associated with the request. - -Note that -:method:`Symfony\\Component\\HttpFoundation\\Request::getAcceptableFormats` -will use the data from -:method:`Symfony\\Component\\HttpFoundation\\Request::getAcceptableContentTypes` -and return the client acceptable formats:: - - $request->getAcceptableContentTypes(); - // returns ['text/html', 'application/xhtml+xml', 'application/xml', '*/*'] - - $request->getAcceptableFormats(); - // returns ['html', 'xml'] - :method:`Symfony\\Component\\HttpFoundation\\Request::getLanguages` Returns the list of accepted languages ordered by descending quality. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy