function MemcachedSessionHandler::doDestroy
Overrides AbstractSessionHandler::doDestroy
File
-
vendor/
symfony/ http-foundation/ Session/ Storage/ Handler/ MemcachedSessionHandler.php, line 90
Class
- MemcachedSessionHandler
- Memcached based session storage handler based on the Memcached class provided by the PHP memcached extension.
Namespace
Symfony\Component\HttpFoundation\Session\Storage\HandlerCode
protected function doDestroy(string $sessionId) : bool {
$result = $this->memcached
->delete($this->prefix . $sessionId);
return $result || \Memcached::RES_NOTFOUND == $this->memcached
->getResultCode();
}