public function deleteFrom($namespace, $key)
    {
        if (isset($_SESSION[$namespace])) {
            $oldNamespace = $this->namespace;
            $this->setNamespace($namespace);
            $this->delete($key);
            $this->setNamespace($oldNamespace);
        }
    }
public function deleteFrom($namespace, $key)
    {
        if (isset($_SESSION[$namespace])) {
            $oldNamespace = $this->namespace;
            $this->setNamespace($namespace);
            $this->delete($key);
            $this->setNamespace($oldNamespace);
        }
    }
public function deleteFrom ( $ namespace , $ key ) { if ( isset ( $ _SESSION [ $ namespace ] ) ) { $ oldNamespace = $ this -> namespace ; $ this -> setNamespace ( $ namespace ) ; $ this -> delete ( $ key ) ; $ this -> setNamespace ( $ oldNamespace ) ; } }
Delete session key or array of keys from specific namespace

@param string $namespace Session namespace
@param mixed  $key       Session key or array of keys
Delete session key or array of keys from specific namespace