You are here

protected static function BatchProcessor::getUpdater in Automatic Updates 8.2

Gets the updater service.

Return value

\Drupal\automatic_updates\Updater The updater service.

File

src/BatchProcessor.php, line 20

Class

BatchProcessor
A batch processor for updates.

Namespace

Drupal\automatic_updates

Code

protected static function getUpdater() : Updater {
  return \Drupal::service('automatic_updates.updater');
}