function LoggingCommitter::__construct
Same name in this branch
- 11.x core/modules/package_manager/src/LoggingCommitter.php \Drupal\package_manager\LoggingCommitter::__construct()
Constructs a Committer object.
Parameters
\Drupal\Core\State\StateInterface $state: The state service.
\PhpTuf\ComposerStager\API\Core\CommitterInterface $inner: The decorated committer service.
File
-
core/
modules/ package_manager/ tests/ modules/ package_manager_bypass/ src/ LoggingCommitter.php, line 39
Class
- LoggingCommitter
- A composer-stager Committer decorator that adds logging.
Namespace
Drupal\package_manager_bypassCode
public function __construct(StateInterface $state, CommitterInterface $inner) {
$this->state = $state;
$this->inner = $inner;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.