Browse Source

Revert "add removePackage() to RepositoryInterface"

This reverts commit cfb0d33c4525d30cd5c283d0c6ac4b389e8b3cd7.

Fixes #7634
Jordi Boggiano 6 năm trước cách đây
mục cha
commit
0124e7b553
1 tập tin đã thay đổi với 0 bổ sung7 xóa
  1. 0 7
      src/Composer/Repository/RepositoryInterface.php

+ 0 - 7
src/Composer/Repository/RepositoryInterface.php

@@ -71,11 +71,4 @@ 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);
 }