1
0
Fork 0
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:
Niels Keurentjes 2016-02-19 23:47:33 +01:00
parent 9bc2ee02e4
commit 5c98421ae8
3 changed files with 68 additions and 2 deletions

View file

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