예제 #1
0
파일: Session.php 프로젝트: phavour/phavour
 /**
  * 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;
 }
예제 #2
0
파일: Auth.php 프로젝트: phavour/phavour
 /**
  * Setup the namespace object
  */
 public function setup()
 {
     $this->instance = new \Phavour\Session\Storage('__Pf_Auth');
     $this->instance->lock();
 }