Skip to content

Commit ac97e7f

Browse files
committed
minor #12639 Add isMasterRequest method (makmaoui)
This PR was submitted for the 4.3 branch but it was merged into the 3.4 branch instead (closes #12639). Discussion ---------- Add isMasterRequest method The isMasterRequest method is available on KernelEvent but not listed in documentation <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 0cf2b81 Add isMasterRequest method
2 parents affca22 + 0cf2b81 commit ac97e7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reference/events.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ following information:
2323
:method:`Symfony\\Component\\HttpKernel\\Event\\KernelEvent::getRequest`
2424
Returns the current ``Request`` being handled.
2525

26+
:method:`Symfony\\Component\\HttpKernel\\Event\\KernelEvent::isMasterRequest`
27+
Checks if this is a master request.
28+
2629
.. _kernel-core-request:
2730

2831
``kernel.request``

0 commit comments

Comments
 (0)