function LoggingBeginner::begin

Same name in this branch
  1. 11.x core/modules/package_manager/src/LoggingBeginner.php \Drupal\package_manager\LoggingBeginner::begin()

File

core/modules/package_manager/tests/modules/package_manager_bypass/src/LoggingBeginner.php, line 47

Class

LoggingBeginner
A composer-stager Beginner decorator that adds logging.

Namespace

Drupal\package_manager_bypass

Code

public function begin(PathInterface $activeDir, PathInterface $stagingDir, ?PathListInterface $exclusions = NULL, ?OutputCallbackInterface $callback = NULL, ?int $timeout = ProcessInterface::DEFAULT_TIMEOUT) : void {
    $this->saveInvocationArguments($activeDir, $stagingDir, $exclusions?->getAll(), $timeout);
    $this->throwExceptionIfSet();
    $this->inner
        ->begin($activeDir, $stagingDir, $exclusions, $callback, $timeout);
}

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