src/Routing/Router.php
/**
	 * Registers a basic route group which acts as a container to isolate middleware and constraints.
	 *
	 * @param array|Closure $propertiesOrCallback
	 * @param Closure $callback
	 * @return RouteGroup
	 */
Registers a basic route group which acts as a container to isolate middleware and constraints.
@param array|Closure $propertiesOrCallback
@param Closure $callback
@return RouteGroup
Registers a basic route group which acts as a container to isolate middleware and constraints . @param array|Closure $propertiesOrCallback @param Closure $callback @return RouteGroup
public function createGroup($propertiesOrCallback = null, $callback = null) {
		if (is_null($callback)) {
			$callback = $propertiesOrCallback;
			$propertiesOrCallback = array();
		}
		return $this->addRouteGroup($callback, $propertiesOrCallback);
	}
public function createGroup ( $ propertiesOrCallback = null , $ callback = null ) { if ( is_null ( $ callback ) ) { $ callback = $ propertiesOrCallback ; $ propertiesOrCallback = array ( ) ; } return $ this -> addRouteGroup ( $ callback , $ propertiesOrCallback ) ; }
Registers a basic route group which acts as a container to isolate middleware and constraints.
Registers a basic route group which acts as a container to isolate middleware and constraints .