public function install(InstalledRepositoryInterface $repo, PackageInterface $package)
	{
		parent::install($repo, $package);

		if (getenv('OPUS_DISABLED')) {
			return;
		}

		//
		// Return immediately if we have no information relevant to our installer
		//

		if (!$this->checkFrameworkSupport($package)) {
			return;
		}

		$this->loadInstallationMap();

		$this->copyMap(
			$this->buildPackageMap($package),
			$result
		);

		$this->resolve($result);
		$this->saveInstallationMap($result);
		$this->io->write(PHP_EOL);
	}
public function install(InstalledRepositoryInterface $repo, PackageInterface $package)
	{
		parent::install($repo, $package);

		if (getenv('OPUS_DISABLED')) {
			return;
		}

		//
		// Return immediately if we have no information relevant to our installer
		//

		if (!$this->checkFrameworkSupport($package)) {
			return;
		}

		$this->loadInstallationMap();

		$this->copyMap(
			$this->buildPackageMap($package),
			$result
		);

		$this->resolve($result);
		$this->saveInstallationMap($result);
		$this->io->write(PHP_EOL);
	}
public function install ( InstalledRepositoryInterface $ repo , PackageInterface $ package ) { parent :: install ( $ repo , $ package ) ; if ( getenv ( 'OPUS_DISABLED' ) ) { return ; } // // Return immediately if we have no information relevant to our installer // if ( ! $ this -> checkFrameworkSupport ( $ package ) ) { return ; } $ this -> loadInstallationMap ( ) ; $ this -> copyMap ( $ this -> buildPackageMap ( $ package ) , $ result ) ; $ this -> resolve ( $ result ) ; $ this -> saveInstallationMap ( $ result ) ; $ this -> io -> write ( PHP_EOL ) ; }
Installs a package

@access public
@param InstalledRepositoryInterface $repo The repository for installed packages
@param PackageInterface $package The package to install
@return void
Installs a package