Webiny\Component\Router\Route\RouteCollection::get PHP Method

get() public method

Returns the route under the given name.
public get ( string $name ) : Route
$name string Name of the route.
return Route
    public function get($name)
    {
        return $this->routes->key($name, null, true);
    }