function ManageGitIgnore::__construct
Same name in other branches
- 9 composer/Plugin/Scaffold/ManageGitIgnore.php \Drupal\Composer\Plugin\Scaffold\ManageGitIgnore::__construct()
- 8.9.x composer/Plugin/Scaffold/ManageGitIgnore.php \Drupal\Composer\Plugin\Scaffold\ManageGitIgnore::__construct()
- 10 composer/Plugin/Scaffold/ManageGitIgnore.php \Drupal\Composer\Plugin\Scaffold\ManageGitIgnore::__construct()
ManageGitIgnore constructor.
Parameters
\Composer\IO\IOInterface $io: The Composer IO interface.
string $dir: The directory where the project is located.
File
-
composer/
Plugin/ Scaffold/ ManageGitIgnore.php, line 36
Class
- ManageGitIgnore
- Manage the .gitignore file.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function __construct(IOInterface $io, $dir) {
$this->io = $io;
$this->dir = $dir;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.