Files
2026-07-01 16:44:17 +03:00

31 lines
588 B
PHP

<?php namespace ZN\Inclusion\Project;
/**
* ZN PHP Web Framework
*
* "Simplicity is the ultimate sophistication." ~ Da Vinci
*
* @package ZN
* @license MIT [http://opensource.org/licenses/MIT]
* @author Ozan UYKUN [ozan@znframework.com]
*/
use ZN\Inclusion;
class View
{
use ViewTrait;
/**
* Load view.
*
* @param string $file = NULL
* @param bool $usable = false
*
* @return mixed
*/
public static function get(?string $file = NULL, $usable = false)
{
return Inclusion\View::use($file, [], $usable);
}
}