mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-07-31 21:30:57 +02:00
26 lines
401 B
PHP
26 lines
401 B
PHP
<?php
|
|
|
|
class VestaSession
|
|
{
|
|
|
|
static public $instance = null;
|
|
|
|
/**
|
|
* Grab current instance or create it
|
|
*
|
|
* @return AjaxHandler
|
|
*/
|
|
static function getInstance()
|
|
{
|
|
return null == self::$instance ? self::$instance = new self() : self::$instance;
|
|
}
|
|
|
|
public function getUser()
|
|
{
|
|
return array('uid' => 'vesta');
|
|
}
|
|
|
|
}
|
|
|
|
?>
|