We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f85b823 commit a5810c9Copy full SHA for a5810c9
ChainedRouterInterface.php
@@ -4,12 +4,20 @@
4
5
use Symfony\Component\Routing\RouterInterface;
6
7
+/**
8
+ * Use this interface on custom routers that can handle non-string route
9
+ * "names".
10
+ */
11
interface ChainedRouterInterface extends RouterInterface
12
{
13
/**
- * This method checks if the current router supports the passed object
14
+ * Whether the router supports the thing in $name to generate a route.
15
*
- * @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
21
22
* @return bool
23
*/
0 commit comments