File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -246,12 +246,11 @@ public function setPath($pattern)
246
246
}
247
247
248
248
/**
249
- * Return this routes children
249
+ * Get all route children of this route.
250
250
*
251
- * Filters out children that do not implement
252
- * the RouteObjectInterface.
251
+ * Filters out children that do not implement the RouteObjectInterface.
253
252
*
254
- * @return array - array of RouteObjectInterface's
253
+ * @return RouteObjectInterface[]
255
254
*
256
255
*/
257
256
public function getRouteChildren ()
@@ -266,4 +265,14 @@ public function getRouteChildren()
266
265
267
266
return $ children ;
268
267
}
268
+
269
+ /**
270
+ * Get all children of this route including non-routes.
271
+ *
272
+ * @return array
273
+ */
274
+ public function getChildren ()
275
+ {
276
+ return $ this ->children ;
277
+ }
269
278
}
You can’t perform that action at this time.
0 commit comments