public function __construct($namespace = 'default') { $this->_namespace = $namespace; // Lazy load session. if (\DF\Session::exists()) { \DF\Session::start(); $this->_data = $_SESSION[$this->_namespace]; } else { $this->_data = array(); } }