added missing interfaces
parent
6caa77fbbf
commit
d7fe0dfda4
|
@ -15,21 +15,9 @@ namespace Composer\Downloader;
|
||||||
use Composer\Package\PackageInterface;
|
use Composer\Package\PackageInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Package Downloader
|
* @author Konstantin Kudryashov <ever.zet@gmail.com>
|
||||||
*
|
|
||||||
* @author Kirill chEbba Chebunin <iam@chebba.org>
|
|
||||||
*/
|
*/
|
||||||
interface DownloaderInterface
|
interface DownloaderInterface
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* Download package
|
|
||||||
*
|
|
||||||
* @param PackageInterface $package Downloaded package
|
|
||||||
* @param string $path Download to
|
|
||||||
* @param string $url Download from
|
|
||||||
* @param string|null $checksum Package checksum
|
|
||||||
*
|
|
||||||
* @throws \UnexpectedValueException
|
|
||||||
*/
|
|
||||||
function download(PackageInterface $package, $path, $url, $checksum = null);
|
function download(PackageInterface $package, $path, $url, $checksum = null);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue