function PhpBackendFactory::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/PhpBackendFactory.php \Drupal\Core\Cache\PhpBackendFactory::__construct()
  2. 8.9.x core/lib/Drupal/Core/Cache/PhpBackendFactory.php \Drupal\Core\Cache\PhpBackendFactory::__construct()
  3. 10 core/lib/Drupal/Core/Cache/PhpBackendFactory.php \Drupal\Core\Cache\PhpBackendFactory::__construct()

Constructs a PhpBackendFactory object.

Parameters

\Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider: The cache tags checksum provider.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

File

core/lib/Drupal/Core/Cache/PhpBackendFactory.php, line 24

Class

PhpBackendFactory

Namespace

Drupal\Core\Cache

Code

public function __construct(CacheTagsChecksumInterface $checksum_provider, TimeInterface $time) {
    $this->checksumProvider = $checksum_provider;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.