8000 Updated event_listener.rst by bfgasparin · Pull Request #3776 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Updated event_listener.rst #3776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 27, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added Versionadded directive to event_listener.rst
Added missing Versionadded directive to event_listener.rst
  • Loading branch information
bfgasparin committed Apr 8, 2014
commit 8e8b8a00d04222aafe6e27c394998673ba2194ac
4 changes: 4 additions & 0 deletions cookbook/service_container/event_listener.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ done as follow::
}
}

.. versionadded:: 2.4
The ``isMasterRequest()`` method was introduced in Symfony 2.4.
Prior, the ``getRequestType()`` method must be used.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We normally put these hints above the new feature.


.. tip::

Two types of request are available in the :class:`Symfony\\Component\\HttpKernel\\HttpKernelInterface`
Expand Down
0