mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Move root package handling to a dedicated loader and make ArrayLoader more strict
This commit is contained in:
parent
a2caa7c5e6
commit
f6b9488bf0
14 changed files with 86 additions and 62 deletions
|
@ -23,7 +23,6 @@ use Composer\Package\Version\VersionParser;
|
|||
class ArrayRepository implements RepositoryInterface
|
||||
{
|
||||
protected $packages;
|
||||
protected $repositoryManager;
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
@ -42,14 +41,6 @@ class ArrayRepository implements RepositoryInterface
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function setRepositoryManager(RepositoryManager $manager)
|
||||
{
|
||||
$this->repositoryManager = $manager;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue