src/Routing/Router.php
/**
	 * Executes the group callback.
	 *
	 * @param RouteGroup $group
	 * @param Closure $callback
	 */
Executes the group callback.
@param RouteGroup $group
@param Closure $callback
Executes the group callback . @param RouteGroup $group @param Closure $callback
private function executeGroup(RouteGroup $group, Closure $callback) {
		$originalGroup = $this->currentGroup;
		$this->currentGroup = $group;
		$callback();
		$this->currentGroup = $originalGroup;
	}
private function executeGroup ( RouteGroup $ group , Closure $ callback ) { $ originalGroup = $ this -> currentGroup ; $ this -> currentGroup = $ group ; $ callback ( ) ; $ this -> currentGroup = $ originalGroup ; }
Executes the group callback.
Executes the group callback .
// Get the current group // Set the current group to the new group // Execute closure // Restore the original group