Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ManageGitIgnore.php

function 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\Scaffold

Code

public function __construct(IOInterface $io, $dir) {
    $this->io = $io;
    $this->dir = $dir;
}
RSS feed
Powered by Drupal