You are here

protected function Updater::stageCommand in Automatic Updates 8.2

Stages a Composer command.

Parameters

string[] $command: The command array as expected by \PhpTuf\ComposerStager\Domain\StagerInterface::stage().

See also

\PhpTuf\ComposerStager\Domain\StagerInterface::stage()

1 call to Updater::stageCommand()
Updater::stagePackages in src/Updater.php
Installs Composer packages in the staging area.

File

src/Updater.php, line 229

Class

Updater
Defines a service to perform updates.

Namespace

Drupal\automatic_updates

Code

protected function stageCommand(array $command) : void {
  $this->stager
    ->stage($command, $this->pathLocator
    ->getStageDirectory());
}