Exemplo n.º 1
0
 /**
  * Getter for the session instance variable.
  *
  * @return MvcLite\Session The session instance.
  */
 public function getSession()
 {
     if (!$this->session) {
         $this->session = \MvcLite\Session::getInstance();
     }
     return $this->session;
 }
Exemplo n.º 2
0
 /**
  * The setup method, called before each test
  */
 public function setUp()
 {
     $this->sut = Session::getInstance();
 }