src/Group.php
public function set($route)
    {
        if ($route instanceof Group) {
            foreach ($route->all() as $r)
                $this->routes[] = $r;
        } else  $this->routes[] = $route;
        return  $this;
    }
public function set($route)
    {
        if ($route instanceof Group) {
            foreach ($route->all() as $r)
                $this->routes[] = $r;
        } else  $this->routes[] = $route;
        return  $this;
    }
public function set ( $ route ) { if ( $ route instanceof Group ) { foreach ( $ route -> all ( ) as $ r ) $ this -> routes [ ] = $ r ; } else $ this -> routes [ ] = $ route ; return $ this ; }
Set a new Route or merge an existing group of routes.

@param Group|Route $route
@return self
Set a new Route or merge an existing group of routes .