You are here

public function DepcalcCacheFactory::__construct in Dependency Calculation 8

DepcalcCacheFactory constructor.

Parameters

\Drupal\Core\Cache\CacheFactoryInterface $factory: The core cache factory.

File

src/Cache/DepcalcCacheFactory.php, line 30

Class

DepcalcCacheFactory

Namespace

Drupal\depcalc\Cache

Code

public function __construct(CacheFactoryInterface $factory, EventDispatcherInterface $dispatcher) {
  $this->factory = $factory;
  $this->dispatcher = $dispatcher;
}