You are here

public function ReadinessCheckerManager::__construct in Automatic Updates 8

ReadinessCheckerManager constructor.

Parameters

\Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value: The key/value service.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

src/ReadinessChecker/ReadinessCheckerManager.php, line 45

Class

ReadinessCheckerManager
Defines a chained readiness checker implementation combining multiple checks.

Namespace

Drupal\automatic_updates\ReadinessChecker

Code

public function __construct(KeyValueFactoryInterface $key_value, ConfigFactoryInterface $config_factory) {
  $this->keyValue = $key_value
    ->get('automatic_updates');
  $this->configFactory = $config_factory;
}