/** * Removes a specific value from the session * * @param String $key The key to remove * @return \r8\iface\Session Returns a self reference */ public function clear($key) { $this->decorated->clear($key); return $this; }
/** * Removes this specific value from the session * * @return \r8\Session\Value Returns a self reference */ public function clear() { $this->session->clear($this->key); return $this; }