new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user