Files
web-site/Internal/package-buffering/Singleton.php
T
2026-07-01 16:44:17 +03:00

35 lines
610 B
PHP

<?php namespace ZN\Buffering;
/**
* 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\Singleton as Single;
class Singleton
{
/**
* Keep session library
*
* @var ZN\Storage\Session
*/
protected static $session;
/**
* Magic construct
*
* @param void
*
* @return void
*/
public function __construct()
{
self::$session = Single::class('ZN\Storage\Session');
}
}