function ManageGitIgnore::__construct
Same name and namespace in other branches
- 10 composer/Plugin/Scaffold/ManageGitIgnore.php \Drupal\Composer\Plugin\Scaffold\ManageGitIgnore::__construct()
- 11.x composer/Plugin/Scaffold/ManageGitIgnore.php \Drupal\Composer\Plugin\Scaffold\ManageGitIgnore::__construct()
- 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()
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 22
Class
- ManageGitIgnore
- Manage the .gitignore file.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function __construct(protected IOInterface $io, protected $dir) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.