src/Routing/Router.php
/**
	 * Registers a prefix to use for subsequent route registrations. If the second, optional $callback parameter
	 * is supplied, creates a route group instead.
	 *
	 * @param string $prefix
	 * @param Closure|null $callback
	 * @return RouteGroup|void
	 */
Registers a prefix to use for subsequent route registrations. If the second, optional $callback parameter
is supplied, creates a route group instead.

@param string $prefix
@param Closure|null $callback
@return RouteGroup|void
Registers a prefix to use for subsequent route registrations . If the second optional $callback parameter is supplied creates a route group instead . @param string $prefix @param Closure|null $callback @return RouteGroup|void
public function createPrefix($prefix, Closure $callback = null) {
		if (!is_null($callback)) {
			return $this->createPrefixGroup($prefix, $callback);
		}
		$this->currentGroup->setPrefix($prefix);
	}
public function createPrefix ( $ prefix , Closure $ callback = null ) { if ( ! is_null ( $ callback ) ) { return $ this -> createPrefixGroup ( $ prefix , $ callback ) ; } $ this -> currentGroup -> setPrefix ( $ prefix ) ; }
Registers a prefix to use for subsequent route registrations.
Registers a prefix to use for subsequent route registrations .