You are here

public function BaseInstaller::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/composer/installers/src/Composer/Installers/BaseInstaller.php \Composer\Installers\BaseInstaller::__construct()

Initializes base installer.

Parameters

PackageInterface $package:

Composer $composer:

File

vendor/composer/installers/src/Composer/Installers/BaseInstaller.php, line 19

Class

BaseInstaller

Namespace

Composer\Installers

Code

public function __construct(PackageInterface $package = null, Composer $composer = null) {
  $this->composer = $composer;
  $this->package = $package;
}