/** * Clear all session values outside of the namespace. * * @throws \Exception * @return boolean */ public function removeAll() { $this->instance->unlock(); $result = $this->instance->removeAll(); $this->instance->lock(); return $result; }
/** * Setup the namespace object */ public function setup() { $this->instance = new \Phavour\Session\Storage('__Pf_Auth'); $this->instance->lock(); }