File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1282,7 +1282,7 @@ the common configuration using options when importing the routes.
12821282 use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
12831283
12841284 return function (RoutingConfigurator $routes) {
1285- // use the optional fifth argument of import() to exclude some files
1285+ // use the optional fourth argument of import() to exclude some files
12861286 // or subdirectories when loading annotations
12871287 $routes->import('../../src/Controller/', 'annotation')
12881288 // this is added to the beginning of all imported route URLs
Original file line number Diff line number Diff line change @@ -592,8 +592,9 @@ application handlers::
592592Tagged Services with Priority
593593~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
594594
595- The tagged services can be prioritized using the ``priority `` attribute,
596- thus providing a way to inject a sorted collection of services:
595+ The tagged services can be prioritized using the ``priority `` attribute.
596+ The priority is a positive or negative integer. The higher the number,
597+ the earlier the tagged service will be located in the collection:
597598
598599.. configuration-block ::
599600
@@ -651,7 +652,7 @@ service itself::
651652 }
652653 }
653654
654- If you want to have another method defining the priority
655+ If you want to have another method defining the priority
655656(e.g. ``getPriority() `` rather than ``getDefaultPriority() ``),
656657you can define it in the configuration of the collecting service:
657658
You can’t perform that action at this time.
0 commit comments