Skip to content

Commit a5810c9

Browse files
committed
fix param doc order and elaborate phpdoc
1 parent f85b823 commit a5810c9

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

ChainedRouterInterface.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,20 @@
44

55
use Symfony\Component\Routing\RouterInterface;
66

7+
/**
8+
* Use this interface on custom routers that can handle non-string route
9+
* "names".
10+
*/
711
interface ChainedRouterInterface extends RouterInterface
812
{
913
/**
10-
* This method checks if the current router supports the passed object
14+
* Whether the router supports the thing in $name to generate a route.
1115
*
12-
* @param $name mixed The route name or route object
16+
* This check does not need to look if the specific instance can be
17+
* resolved to a route, only whether the router can generate routes from
18+
* objects of this class.
19+
20+
* @param mixed $name The route name or route object
1321
*
1422
* @return bool
1523
*/

0 commit comments

Comments
 (0)