src/Routing/RouteFacade.php
/**
	 * Loads another route file with the given name. The name must not end in '.php' and will be loaded relative to
	 * the `routes` directory.
	 *
	 * @param string $fileName
	 * @param bool $reset Enable to clear all previous middleware and groups before loading the file.
	 */
Loads another route file with the given name. The name must not end in '.php' and will be loaded relative to
the `routes` directory.

@param string $fileName
@param bool $reset Enable to clear all previous middleware and groups before loading the file.
Loads another route file with the given name . The name must not end in ' . php ' and will be loaded relative to the ` routes ` directory . @param string $fileName @param bool $reset Enable to clear all previous middleware and groups before loading the file .
public static function load($fileName, $reset = false) {
		if (!Str::endsWith($fileName, '.php')) {
			$fileName .= '.php';
		}
		RouteLoader::loadRouteFile(Path::join(RouteLoader::getLastDirectory(), $fileName), $reset);
	}
public static function load ( $ fileName , $ reset = false ) { if ( ! Str :: endsWith ( $ fileName , '.php' ) ) { $ fileName .= '.php' ; } RouteLoader :: loadRouteFile ( Path :: join ( RouteLoader :: getLastDirectory ( ) , $ fileName ) , $ reset ) ; }
Loads another route file with the given name.
Loads another route file with the given name .