src/Routing/RouteFacade.php
/**
	 * Registers a route with a default controller which renders the specified view. An array of variables can be sent
	 * to the view through the third parameter.
	 *
	 * @param string $uri
	 * @param string $view
	 * @param array $variables
	 * @param string|null $fallback Path to a php file, relative to the root directory, to use for fallback routing.
	 * @return Route
	 */
Registers a route with a default controller which renders the specified view. An array of variables can be sent
to the view through the third parameter.

@param string $uri
@param string $view
@param array $variables
@param string|null $fallback Path to a php file, relative to the root directory, to use for fallback routing.
@return Route
Registers a route with a default controller which renders the specified view . An array of variables can be sent to the view through the third parameter . @param string $uri @param string $view @param array $variables @param string|null $fallback Path to a php file relative to the root directory to use for fallback routing . @return Route
public static function view($uri, $view, array $variables = array(), $fallback = null) {
		$route = static::router()->createViewRoute($uri, $view, $variables);
		if (!is_null($fallback)) {
			$route->fallback($fallback);
		}
		return $route;
	}
public static function view ( $ uri , $ view , array $ variables = array ( ) , $ fallback = null ) { $ route = static :: router ( ) -> createViewRoute ( $ uri , $ view , $ variables ) ; if ( ! is_null ( $ fallback ) ) { $ route -> fallback ( $ fallback ) ; } return $ route ; }
Registers a route with a default controller which renders the specified view.
Registers a route with a default controller which renders the specified view .