public function ManageGitIgnore::__construct in Drupal 10
Same name and namespace in other branches
- 8 composer/Plugin/Scaffold/ManageGitIgnore.php \Drupal\Composer\Plugin\Scaffold\ManageGitIgnore::__construct()
- 9 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;
}