You are here

public function CacheBackendMongodb::expire in MongoDB 8

Removes expired cache items from MongoDB.

1 call to CacheBackendMongodb::expire()
CacheBackendMongodb::garbageCollection in src/CacheBackendMongodb.php
Implements Drupal\Core\Cache\CacheBackendInterface::garbageCollection().

File

src/CacheBackendMongodb.php, line 249
Definition of Drupal\mongodb/CacheBackendMongodb.

Class

CacheBackendMongodb
Defines MongoDB cache implementation.

Namespace

Drupal\mongodb

Code

public function expire() {

  // @OTDO: Since we use TTL collections do nothing here. Still?
}