public function group($name, $action, Closure $callback)
    {
        static::$groups[$name] = [
            'action' => $action,
            'callback' => $callback
        ];

        return $this;
    }
public function group($name, $action, Closure $callback)
    {
        static::$groups[$name] = [
            'action' => $action,
            'callback' => $callback
        ];

        return $this;
    }
public function group ( $ name , $ action , Closure $ callback ) { static :: $ groups [ $ name ] = [ 'action' => $ action , 'callback' => $ callback ] ; return $ this ; }
register a new group collection

@param string $name
@param array $action
@param Closure $callback
@return $this
register a new group collection