src/Piston.php
public function group($prefix, callable $group)
    {
        $group = new RouteGroup($prefix, $group, $this);

        $this->groups[] = $group;

        return $group;
    }
public function group($prefix, callable $group)
    {
        $group = new RouteGroup($prefix, $group, $this);

        $this->groups[] = $group;

        return $group;
    }
public function group ( $ prefix , callable $ group ) { $ group = new RouteGroup ( $ prefix , $ group , $ this ) ; $ this -> groups [ ] = $ group ; return $ group ; }
Add a group of routes to the collection.

@param string   $prefix
@param callable $group

@return RouteGroup
Add a group of routes to the collection .