12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- /**
- *
- * Cube Framework $Id$ 8EA+/uBGYPSnOrrVYH+ZcSO0hheeDEEXbE7r4V/0Uyw=
- *
- * @link http://codecu.be/framework
- * @copyright Copyright (c) 2015 CodeCube SRL
- * @license http://codecu.be/framework/license Commercial License
- *
- * @version 1.4
- */
- namespace Cube\Application\Resource;
- use Cube\Session as SessionObject;
- /**
- * session resource management class
- *
- * Class Session
- *
- * @package Cube\Application\Resource
- */
- class Session extends AbstractResource
- {
- /**
- *
- * session object
- *
- * @var \Cube\Session
- */
- protected $_session;
- /**
- *
- * init session resource
- *
- * @return \Cube\Session
- */
- public function init()
- {
- if (!($this->_session instanceof SessionObject)) {
- $this->_session = new SessionObject($this->_options['session']);
- }
- return $this->_session;
- }
- }
|