mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
second batch of refactoring
This commit is contained in:
parent
d2150a3c2e
commit
9deb10361f
16 changed files with 414 additions and 395 deletions
|
@ -23,16 +23,6 @@ class ArrayRepository implements RepositoryInterface
|
|||
{
|
||||
protected $packages;
|
||||
|
||||
static public function supports($type, $name = '', $url = '')
|
||||
{
|
||||
return 'array' === strtolower($type);
|
||||
}
|
||||
|
||||
static public function create($type, $name = '', $url = '')
|
||||
{
|
||||
return new static();
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a new package to the repository
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue