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
Fixed internals.rst syntax
  • Loading branch information
bfgasparin committed Apr 10, 2014
commit 4fc3b6acd768a9c54249b10fa7746fb80b69b506
4 changes: 2 additions & 2 deletions book/internals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ each event has access to the same basic information:
* :method:`Symfony\\Component\\HttpKernel\\Event\\KernelEvent::getRequest`
- returns the current ``Request`` being handled.

``IsMasterRequest()``
....................
``isMasterRequest()``
.....................

The ``isMasterRequest()`` method allows listeners to check the type of the
request. For instance, if a listener must only be active for master requests,
Expand Down