You are here

public function ManageGitIgnore::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 composer/Plugin/Scaffold/ManageGitIgnore.php \Drupal\Composer\Plugin\Scaffold\ManageGitIgnore::__construct()
  2. 10 composer/Plugin/Scaffold/ManageGitIgnore.php \Drupal\Composer\Plugin\Scaffold\ManageGitIgnore::__construct()

ManageGitIgnore constructor.

Parameters

string $dir: The directory where the project is located.

File

composer/Plugin/Scaffold/ManageGitIgnore.php, line 34

Class

ManageGitIgnore
Manage the .gitignore file.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

public function __construct(IOInterface $io, $dir) {
  $this->io = $io;
  $this->dir = $dir;
}