Exemple #1
0
 /**
  * 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;
 }
Exemple #2
0
 /**
  * Setup the namespace object
  */
 public function setup()
 {
     $this->instance = new \Phavour\Session\Storage('__Pf_Auth');
     $this->instance->lock();
 }