示例#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;
 }
示例#2
0
 /**
  * The setup method, called before each test
  */
 public function setUp()
 {
     $this->sut = Session::getInstance();
 }