Skip to content

Commit 5e21514

Browse files
committed
clarifying the meaning of priority in the readme
1 parent f3b70f8 commit 5e21514

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ in its name, it does not need the full Symfony2 framework and can be used in
66
standalone projects. We also provide a [Symfony2 bundle](https://github.com/symfony-cmf/RoutingExtraBundle).
77

88
This component provides a *chain router* that can chain several RouterInterface
9-
instances one after the other. It uses a list of routers that it tries by
10-
priority to match and generate routes. One of the routers in that chain can of
11-
course be the Symfony2 router instance so you can still use the standard way
12-
for some of your routes.
9+
instances one after the other. It uses a list of routers, ordered by a priority
10+
value, the higher the priority number the earlier that router is asked to match
11+
respectivly generate routes. One of the routers in that chain can of course be
12+
the Symfony2 router instance so you can still use the standard way for some of
13+
your routes.
1314

1415
Additionally, this component is meant to provide useful router implementations.
1516
Currently, there is the *DoctrineRouter* that routes based on doctrine database

0 commit comments

Comments
 (0)