function NoOpStager::__construct

Constructs a Stager object.

Parameters

\Drupal\Core\State\StateInterface $state: The state service.

File

core/modules/package_manager/tests/modules/package_manager_bypass/src/NoOpStager.php, line 39

Class

NoOpStager
A composer-stager Stager implementation that does nothing, except logging.

Namespace

Drupal\package_manager_bypass

Code

public function __construct(StateInterface $state) {
    $this->state = $state;
}

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