function StageBase::__construct

1 method overrides StageBase::__construct()
ChildStage::__construct in core/modules/package_manager/tests/src/Unit/StageBaseTest.php

File

core/modules/package_manager/src/StageBase.php, line 172

Class

StageBase
Creates and manages a stage directory in which to install or update code.

Namespace

Drupal\package_manager

Code

public function __construct(PathLocator $pathLocator, BeginnerInterface $beginner, StagerInterface $stager, CommitterInterface $committer, QueueFactory $queueFactory, EventDispatcherInterface $eventDispatcher, SharedTempStoreFactory $tempStoreFactory, TimeInterface $time, PathFactoryInterface $pathFactory, FailureMarker $failureMarker) {
    $this->tempStore = $tempStoreFactory->get('package_manager_stage');
}

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