Skip to content

Commit

Permalink
Fixed event listeners priority
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-co authored and Tony Cosentino committed Mar 25, 2014
1 parent 003230f commit 13b5645
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reference/dic_tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,9 @@ To register your warmer with Symfony, give it the ``kernel.cache_warmer`` tag:
->addTag('kernel.cache_warmer', array('priority' => 0))
;
The ``priority`` value is optional, and defaults to 0. This value can be
from -255 to 255, and the warmers will be executed in the order of their
priority.
The ``priority`` value is optional, and defaults to 0. The core Symfony
listeners priorities varies from -1024 to 1024, and the warmers will be
executed in the order of their priority.
.. _dic-tags-kernel-event-listener:
Expand Down

0 comments on commit 13b5645

Please sign in to comment.