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