File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -3806,6 +3806,11 @@ the ``#[WithLogLevel]`` attribute::
38063806 {
38073807 }
38083808
3809+ ``#[WithHttpStatus] `` and ``#[WithLogLevel] `` attributes also work with parent
3810+ classes and (since 7.1) interfaces. To find the effective HTTP status and log
3811+ level, the framework will look on the parent hierarchy first, starting on the
3812+ immediate parent, then it will look on the interfaces.
3813+
38093814.. _`HTTP Host header attacks` : https://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
38103815.. _`Security Advisory Blog post` : https://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released#cve-2013-4752-request-gethost-poisoning
38113816.. _`phpstorm-url-handler` : https://github.com/sanduhrs/phpstorm-url-handler
You can’t perform that action at this time.
0 commit comments