src/Collector.php
public function group(array $routes)
    {
        $group = new Group;
        foreach ($routes as $route)
            $group->set($route);
        return $group;
    }
public function group(array $routes)
    {
        $group = new Group;
        foreach ($routes as $route)
            $group->set($route);
        return $group;
    }
public function group ( array $ routes ) { $ group = new Group ; foreach ( $ routes as $ route ) $ group -> set ( $ route ) ; return $ group ; }
Group all given routes.

@param Route[] $routes
@return Group
Group all given routes .