$suggestedPackages
$suggestedPackages : array
Add suggested packages from different places to output them in the end.
$io : \Composer\IO\IOInterface
__construct(\Composer\IO\IOInterface $io)
\Composer\IO\IOInterface | $io |
addPackage(string $source, string $target, string $reason) : \Composer\Installer\SuggestedPackagesReporter
Add suggested packages to be listed after install
Could be used to add suggested packages both from the installer or from CreateProjectCommand.
string | $source | Source package which made the suggestion |
string | $target | Target package to be suggested |
string | $reason | Reason the target package to be suggested |
addSuggestionsFromPackage(\Composer\Package\PackageInterface $package) : \Composer\Installer\SuggestedPackagesReporter
Add all suggestions from a package.
\Composer\Package\PackageInterface | $package |
output(\Composer\Repository\RepositoryInterface $installedRepo = null) : \Composer\Installer\SuggestedPackagesReporter
Output suggested packages.
Do not list the ones already installed if installed repository provided.
\Composer\Repository\RepositoryInterface | $installedRepo | Installed packages |