Expand docs
parent
31cf6788e6
commit
f87b1642bc
|
@ -14,7 +14,9 @@ class SyncHelper
|
||||||
* This executes all the required steps and waits for promises to complete
|
* This executes all the required steps and waits for promises to complete
|
||||||
*
|
*
|
||||||
* @param Loop $loop Loop instance which you can get from $composer->getLoop()
|
* @param Loop $loop Loop instance which you can get from $composer->getLoop()
|
||||||
* @param string $path the installation path
|
* @param DownloaderInterface $downloader Downloader instance you can get from $composer->getDownloadManager()->getDownloader('zip') for example
|
||||||
|
* @param string $path the installation path for the package
|
||||||
|
* @param PackageInterface $package the package to install
|
||||||
* @param PackageInterface|null $prevPackage the previous package if this is an update and not an initial installation
|
* @param PackageInterface|null $prevPackage the previous package if this is an update and not an initial installation
|
||||||
*/
|
*/
|
||||||
public static function downloadAndInstallPackageSync(Loop $loop, DownloaderInterface $downloader, $path, PackageInterface $package, PackageInterface $prevPackage = null)
|
public static function downloadAndInstallPackageSync(Loop $loop, DownloaderInterface $downloader, $path, PackageInterface $package, PackageInterface $prevPackage = null)
|
||||||
|
|
Loading…
Reference in New Issue