Esempio n. 1
0
 public static function getInstance()
 {
     if (null === self::$instance) {
         self::$instance = new self();
         self::$session = new Session();
     }
     return self::$instance;
 }
Esempio n. 2
0
 public static function getInstance()
 {
     if (null === self::$instance) {
         self::$instance = new self();
         Session::init();
     }
     return self::$instance;
 }