Exemple #1
0
/**
 * Return a view.
 *
 * @param  string $file The file path using dot-notation
 * @param  array $data Data to pass through to the view
 * @return UltraPress\View
 */
function view($file, $data = [])
{
    return \Ultra\View\View::get($file, $data);
}
 /**
  * View the home page.
  */
 public static function getHome()
 {
     View::get('pages.home');
 }