public RouteProviderLazyBuilder::getRoutesByPattern($pattern)
Get all routes which match a certain pattern.
string $pattern: The route pattern to search for (contains {} as placeholders).
\Symfony\Component\Routing\RouteCollection Returns a route collection of matching routes.
Overrides RouteProviderInterface::getRoutesByPattern
public function getRoutesByPattern($pattern) { return $this->getRouteProvider()->getRoutesByPattern($pattern); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!RouteProviderLazyBuilder.php/function/RouteProviderLazyBuilder::getRoutesByPattern/8.1.x