Library/Think/App.class.php
/**
     * Route Groups
     *
     * This method accepts a route pattern and a callback all Route
     * declarations in the callback will be prepended by the group(s)
     * that it is in
     *
     * Accepts the same parameters as a standard route so:
     * (pattern, middleware1, middleware2, ..., $callback)
     */
Route Groups
This method accepts a route pattern and a callback all Route
declarations in the callback will be prepended by the group(s)
that it is in

Accepts the same parameters as a standard route so:
(pattern, middleware1, middleware2, ..., $callback)
Route Groups This method accepts a route pattern and a callback all Route declarations in the callback will be prepended by the group ( s ) that it is in Accepts the same parameters as a standard route so : ( pattern middleware1 middleware2 ... $callback )
public function group() {
        $args     = func_get_args();
        $pattern  = array_shift($args);
        $callable = array_pop($args);
        $this->router->pushGroup($pattern, $args);
        if (is_callable($callable)) {
            call_user_func($callable);
        }
        $this->router->popGroup();
    }
public function group ( ) { $ args = func_get_args ( ) ; $ pattern = array_shift ( $ args ) ; $ callable = array_pop ( $ args ) ; $ this -> router -> pushGroup ( $ pattern , $ args ) ; if ( is_callable ( $ callable ) ) { call_user_func ( $ callable ) ; } $ this -> router -> popGroup ( ) ; }
Route Groups
 This method accepts a route pattern and a callback all Route
 declarations in the callback will be prepended by the group(s)
 that it is in
Route Groups This method accepts a route pattern and a callback all Route declarations in the callback will be prepended by the group ( s ) that it is in