src/Routing/Router.php
/**
	 * Creates a RouteGroup instance, adds it to the router, and executes its closure.
	 *
	 * @param Closure|null $callback
	 * @param array $properties
	 * @return RouteGroup
	 */
Creates a RouteGroup instance, adds it to the router, and executes its closure.
@param Closure|null $callback
@param array $properties
@return RouteGroup
Creates a RouteGroup instance adds it to the router and executes its closure . @param Closure|null $callback @param array $properties @return RouteGroup
private function addRouteGroup(Closure $callback, array $properties = array()) {
		$group = new RouteGroup($properties, $this->currentGroup);
		$this->groups[] = $group;
		$this->executeGroup($group, $callback);
		return $group;
	}
private function addRouteGroup ( Closure $ callback , array $ properties = array ( ) ) { $ group = new RouteGroup ( $ properties , $ this -> currentGroup ) ; $ this -> groups [ ] = $ group ; $ this -> executeGroup ( $ group , $ callback ) ; return $ group ; }
Creates a RouteGroup instance, adds it to the router, and executes its closure.
Creates a RouteGroup instance adds it to the router and executes its closure .
// Create the group // Push to the groups array // Execute the callback closure // Return the new group