Skip to content

Commit a984147

Browse files
committed
Merge pull request #905 from florianv/doc-priority
Documented listeners priorities
2 parents 63a7301 + 9fce57e commit a984147

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Resources/doc/3-listener-support.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,21 @@ fos_rest:
631631

632632
It is also recommended to enable the exception controller described in the next chapter.
633633

634+
### Priorities
635+
636+
| Listener | Event | Priority |
637+
|------------------------|-------------------|----------|
638+
| MimeTypeListener | kernel.request | 200 |
639+
| FormatListener | kernel.request | 34 |
640+
| VersionListener | kernel.request | 33 |
641+
| BodyListener | kernel.request | 10 |
642+
| ParamFetcherListener | kernel.controller | 5 |
643+
| ViewResponseListener | kernel.controller | -10 |
644+
| ViewResponseListener | kernel.view | 100 |
645+
| AllowedMethodsListener | kernel.response | 0 |
646+
634647
## That was it!
648+
635649
[Return to the index](index.md) or continue reading about [ExceptionController support](4-exception-controller-support.md).
636650

637651
[sensio-extra-bundle]: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html

0 commit comments

Comments
 (0)