function PostApplySubscriber::__construct

Constructs a PostApplySubscriber.

Parameters

\Drupal\package_manager\PathLocator $path_locator: The path locator service.

File

core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/src/PostApplySubscriber.php, line 33

Class

PostApplySubscriber
Writes a file after staged changes are applied to the active directory.

Namespace

Drupal\updated_module

Code

public function __construct(PathLocator $path_locator) {
    $this->pathLocator = $path_locator;
}

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