From efe349e3ae0e9a285ba50384da4ac1a427f9e79c Mon Sep 17 00:00:00 2001 From: xabbuh Date: Sun, 6 Oct 2013 20:40:54 +0200 Subject: [PATCH] use literal for class name --- 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 09c9f2ccc76..f7cb342037e 100644 --- a/components/http_foundation/introduction.rst +++ b/components/http_foundation/introduction.rst @@ -282,7 +282,7 @@ Overriding the Request The :method:`Symfony\\Component\\HttpFoundation\\Request::setFactory` method was added in Symfony 2.4. -The Request class should not be overridden as it is a data object that +The ``Request`` class should not be overridden as it is a data object that represents an HTTP message. But when moving from a legacy system, adding methods or changing some default behavior might help. In that case, register a PHP callable that is able to create an instance of your ``Request`` class::