src/Installer.php
protected function discoverInstallers() {
    $repo_manager = $this->composer->getRepositoryManager();

    $package = $this->composer->getPackage();

    return $this->discoverPackageInstallers($package, $repo_manager);
  }
protected function discoverInstallers() {
    $repo_manager = $this->composer->getRepositoryManager();

    $package = $this->composer->getPackage();

    return $this->discoverPackageInstallers($package, $repo_manager);
  }
protected function discoverInstallers ( ) { $ repo_manager = $ this -> composer -> getRepositoryManager ( ) ; $ package = $ this -> composer -> getPackage ( ) ; return $ this -> discoverPackageInstallers ( $ package , $ repo_manager ) ; }
Helper function to scan for installer definitions in dependencies.

@param string $dir
Installation directory of the project's composer.json.

@return array
Installer mappings keyed by type, with paths as values.
Helper function to scan for installer definitions in dependencies .