function GitExcluder::__construct

Same name and namespace in other branches
  1. 11.x core/modules/package_manager/src/PathExcluder/GitExcluder.php \Drupal\package_manager\PathExcluder\GitExcluder::__construct()

File

core/modules/package_manager/src/PathExcluder/GitExcluder.php, line 22

Class

GitExcluder
Excludes .git directories from stage operations.

Namespace

Drupal\package_manager\PathExcluder

Code

public function __construct(private readonly PathLocator $pathLocator, private readonly ComposerInspector $composerInspector) {
}

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