Exemplo n.º 1
0
 /**
  * Assign a new, random ID to the session.
  */
 public function regenerate()
 {
     $this->session['id'] = $this->storage->id();
     $this->exists = false;
 }