12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- namespace Cube\Application\Resource;
- use Cube\Session as SessionObject;
- class Session extends AbstractResource
- {
-
- protected $_session;
-
- public function init()
- {
- if (!($this->_session instanceof SessionObject)) {
- $this->_session = new SessionObject($this->_options['session']);
- }
- return $this->_session;
- }
- }
|