function UnpackOptions::__construct

File

composer/Plugin/RecipeUnpack/UnpackOptions.php, line 45

Class

UnpackOptions
Per-project options from the 'extras' section of the composer.json file.

Namespace

Drupal\Composer\Plugin\RecipeUnpack

Code

private function __construct(array $options) {
    $this->options = $options + [
        'ignore' => [],
        'on-require' => TRUE,
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.