Exemplo n.º 1
0
 /**
  *	Add the resource objects which you will be using in the init() method, 
  *	additionally add property for the resource object.
  */
 public function __construct()
 {
     $this->session = \EasyGo\Session\Session::getInstance(new \EasyGo\Session\Handlers\FileHandler());
     $this->eventDispatcher = EventDispatcher::getInstance();
 }
Exemplo n.º 2
0
 /**
  * Return the instance of the session class
  */
 public function getSession()
 {
     return Session::getInstance();
 }