function SandboxManagerBase::__construct

1 method overrides SandboxManagerBase::__construct()
ChildSandboxManager::__construct in core/modules/package_manager/tests/src/Unit/SandboxManagerBaseTest.php

File

core/modules/package_manager/src/SandboxManagerBase.php, line 174

Class

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

Namespace

Drupal\package_manager

Code

public function __construct(protected readonly PathLocator $pathLocator, protected readonly BeginnerInterface $beginner, protected readonly StagerInterface $stager, protected readonly CommitterInterface $committer, protected readonly QueueFactory $queueFactory, protected EventDispatcherInterface $eventDispatcher, protected readonly SharedTempStoreFactory $tempStoreFactory, protected readonly TimeInterface $time, protected readonly PathFactoryInterface $pathFactory, protected readonly 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.