Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 13b5645

Browse files
tony-coTony Cosentino
authored and
Tony Cosentino
committed
Fixed event listeners priority
1 parent 003230f commit 13b5645

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/dic_tags.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,9 +460,9 @@ To register your warmer with Symfony, give it the ``kernel.cache_warmer`` tag:
460460
->addTag('kernel.cache_warmer', array('priority' => 0))
461461
;
462462
463-
The ``priority`` value is optional, and defaults to 0. This value can be
464-
from -255 to 255, and the warmers will be executed in the order of their
465-
priority.
463+
The ``priority`` value is optional, and defaults to 0. The core Symfony
464+
listeners priorities varies from -1024 to 1024, and the warmers will be
465+
executed in the order of their priority.
466466
467467
.. _dic-tags-kernel-event-listener:
468468

0 commit comments

Comments
 (0)