mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Introduce BaseRepository common ancestor class for all repositories to offload command logic.
This commit is contained in:
parent
9bc2ee02e4
commit
5c98421ae8
3 changed files with 68 additions and 2 deletions
|
@ -24,7 +24,7 @@ use Composer\Semver\Constraint\Constraint;
|
|||
*
|
||||
* @author Nils Adermann <naderman@naderman.de>
|
||||
*/
|
||||
class ArrayRepository implements RepositoryInterface
|
||||
class ArrayRepository extends BaseRepository
|
||||
{
|
||||
/** @var PackageInterface[] */
|
||||
protected $packages;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue