Example #1
0
 /**
  * 
  * @param string $session_id
  * @return boolean
  */
 public function destroy($session_id)
 {
     $this->_client->del($this->_prefix . $session_id);
     return true;
 }
 /**
  * Delete a directory.
  *
  * @param string $dirname
  *
  * @return bool
  */
 public function deleteDir($dirname)
 {
     return (bool) $this->client->del($this->client->keys($dirname . '/*'));
 }