Skip to content

Commit 8e8b8a0

Browse files
committed
Added Versionadded directive to event_listener.rst
Added missing Versionadded directive to event_listener.rst
1 parent 0127bd2 commit 8e8b8a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cookbook/service_container/event_listener.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ done as follow::
124124
}
125125
}
126126

127+
.. versionadded:: 2.4
128+
The ``isMasterRequest()`` method was introduced in Symfony 2.4.
129+
Prior, the ``getRequestType()`` method must be used.
130+
127131
.. tip::
128132

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

0 commit comments

Comments
 (0)