1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 08:32:56 +00:00

Merge remote-tracking branch 'igorw/root-install-twice'

This commit is contained in:
Jordi Boggiano 2012-04-29 17:02:41 +02:00
commit 2dffa612a3
7 changed files with 245 additions and 19 deletions

View file

@ -25,6 +25,13 @@ class ArrayRepository implements RepositoryInterface
{
protected $packages;
public function __construct(array $packages = array())
{
foreach ($packages as $package) {
$this->addPackage($package);
}
}
/**
* {@inheritDoc}
*/