src/classes/CCRoute.php
public static function factory( $callback, $params = array() ) {
		$route = new static();
		$route->callback = $callback;
		$route->params = $params;
		return $route;
	}
public static function factory( $callback, $params = array() ) {
		$route = new static();
		$route->callback = $callback;
		$route->params = $params;
		return $route;
	}
public static function factory ( $ callback , $ params = array ( ) ) { $ route = new static ( ) ; $ route -> callback = $ callback ; $ route -> params = $ params ; return $ route ; }
static route factory

@param callback		$callback
@param array			$params
@return CCRoute
static route factory