From 543bc30d8e0efb99ac41f3238ba72a8a38b74175 Mon Sep 17 00:00:00 2001 From: Diego Saint Esteben Date: Tue, 3 Feb 2015 00:38:41 -0300 Subject: [PATCH] Update introduction.rst | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all since 2.3 | Fixed tickets | - The `makeDisposition` method is in the `ResponseHeaderBag` class, not in the `ResponseHeaderBag` class. --- components/http_foundation/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/http_foundation/introduction.rst b/components/http_foundation/introduction.rst index cdf60f39834..f95117dd1e6 100644 --- a/components/http_foundation/introduction.rst +++ b/components/http_foundation/introduction.rst @@ -439,7 +439,7 @@ Serving Files When sending a file, you must add a ``Content-Disposition`` header to your response. While creating this header for basic file downloads is easy, using non-ASCII filenames is more involving. The -:method:`Symfony\\Component\\HttpFoundation\\Response::makeDisposition` +:method:`Symfony\\Component\\HttpFoundation\\ResponseHeaderBag::makeDisposition` abstracts the hard work behind a simple API:: use Symfony\Component\HttpFoundation\ResponseHeaderBag;