public function MongoDbSessionHandler::destroy in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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;
}