src/Routing/Router.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
	 * @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
@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 @return Route
public function createViewRoute($uri, $view, array $variables = array()) {
		return $this->addRoute(static::$verbs, $uri, get_class(new ViewActionController()) . '::__invoke')
			   ->defaults('view', $view)
			   ->defaults('variables', $variables);
	}
public function createViewRoute ( $ uri , $ view , array $ variables = array ( ) ) { return $ this -> addRoute ( static :: $ verbs , $ uri , get_class ( new ViewActionController ( ) ) . '::__invoke' ) -> defaults ( 'view' , $ view ) -> defaults ( 'variables' , $ variables ) ; }
Registers a route with a default controller which renders the specified view.
Registers a route with a default controller which renders the specified view .