Skip to content

Commit

Permalink
add attributes property of Symfony\Component\HttpFoundation\Request o…
Browse files Browse the repository at this point in the history
…bject
  • Loading branch information
sberder-lm committed Feb 15, 2012
1 parent 192b682 commit 7a6207c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/http_foundation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ can be accessed via several public properties:

* ``cookies``: equivalent of ``$_COOKIE``;

* ``attributes``: router parameters (``_controller``, ``_route`` and any placeholder used);

* ``files``: equivalent of ``$_FILE``;

* ``server``: equivalent of ``$_SERVER``;
Expand All @@ -68,6 +70,8 @@ instance (or a sub-class of), which is a data holder class:

* ``cookies``: :class:`Symfony\\Component\\HttpFoundation\\ParameterBag`;

* ``attributes``: :class:`Symfony\\Component\\HttpFoundation\\ParameterBag`;

* ``files``: :class:`Symfony\\Component\\HttpFoundation\\FileBag`;

* ``server``: :class:`Symfony\\Component\\HttpFoundation\\ServerBag`;
Expand Down

0 comments on commit 7a6207c

Please sign in to comment.