1
0
Fork 0

added missing interfaces

pull/19/head
everzet 2011-09-17 16:12:45 +03:00
parent 6caa77fbbf
commit d7fe0dfda4
4 changed files with 6 additions and 18 deletions

View File

@ -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);
} }