getInstallationSource()
getInstallationSource() : string
Returns installation source (either source or dist).
Returns
string —"source" or "dist"
Downloader interface.
download(\Composer\Package\PackageInterface $package, string $path)
Downloads specific package into specific folder.
| \Composer\Package\PackageInterface | $package | package instance |
| string | $path | download path |
update(\Composer\Package\PackageInterface $initial, \Composer\Package\PackageInterface $target, string $path)
Updates specific package in specific folder from initial to target version.
| \Composer\Package\PackageInterface | $initial | initial package |
| \Composer\Package\PackageInterface | $target | updated package |
| string | $path | download path |
remove(\Composer\Package\PackageInterface $package, string $path)
Removes specific package from specific folder.
| \Composer\Package\PackageInterface | $package | package instance |
| string | $path | download path |
setOutputProgress(boolean $outputProgress) : \Composer\Downloader\DownloaderInterface
Sets whether to output download progress information or not
| boolean | $outputProgress |