You are here

function CacheBackendMongodbFactory::__construct in MongoDB 8

Constructs the CacheBackendMongodbFactory object.

Parameters

\Drupal\mongodb\MongoCollectionFactory $mongo:

File

src/CacheBackendMongodbFactory.php, line 44
Contains \Drupal\Cache\mongodb\CacheBackendMongodbFactory.

Class

CacheBackendMongodbFactory
Factory for CacheBackendMongodb objects.

Namespace

Drupal\mongodb

Code

function __construct(MongoCollectionFactory $mongo, Settings $settings, CacheTagsChecksumInterface $checksum_provider) {
  $this->mongo = $mongo;
  $this->settings = $settings;
  $this->checksumProvider = $checksum_provider;
}