From cfb0d33c4525d30cd5c283d0c6ac4b389e8b3cd7 Mon Sep 17 00:00:00 2001 From: Rob Bast Date: Mon, 20 Aug 2018 10:41:34 +0200 Subject: [PATCH] add removePackage() to RepositoryInterface --- src/Composer/Repository/RepositoryInterface.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Composer/Repository/RepositoryInterface.php b/src/Composer/Repository/RepositoryInterface.php index 9a2aaf3b5..d0ceb905a 100644 --- a/src/Composer/Repository/RepositoryInterface.php +++ b/src/Composer/Repository/RepositoryInterface.php @@ -71,4 +71,11 @@ interface RepositoryInterface extends \Countable * @return array[] an array of array('name' => '...', 'description' => '...') */ public function search($query, $mode = 0); + + /** + * Removes a package from the registered packages list. + * + * @param PackageInterface $package + */ + public function removePackage(PackageInterface $package); }