public function MongoDbSessionHandler::destroy in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Session/Storage/Handler/MongoDbSessionHandler.php \Symfony\Component\HttpFoundation\Session\Storage\Handler\MongoDbSessionHandler::destroy()
File
- vendor/
symfony/ http-foundation/ Session/ Storage/ Handler/ MongoDbSessionHandler.php, line 109
Class
- MongoDbSessionHandler
- MongoDB session handler.
Namespace
Symfony\Component\HttpFoundation\Session\Storage\HandlerCode
public function destroy($sessionId) {
$this
->getCollection()
->remove(array(
$this->options['id_field'] => $sessionId,
));
return true;
}