/**
  * @param array $exclude
  * @return void
  */
 public function removeAll(array $exclude = [])
 {
     foreach (array_keys($this->session->inst_getAll()) as $key) {
         if (!in_array($key, $exclude)) {
             $this->removeByKey($key);
         }
     }
 }
 /**
  * @param string $key
  * @return string
  */
 protected function key($key)
 {
     if (!isset($_SESSION)) {
         \Session::start();
     }
     return sprintf("%s_%s%s", session_id(), $this->prefix, $key);
 }