1
0
Fork 0

Merge pull request #7565 from alcohol/add-remove-to-pkgrepointerface

add removePackage() to RepositoryInterface
pull/7623/merge
Jordi Boggiano 2018-09-10 13:33:39 +02:00 committed by GitHub
commit a1ead0e868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

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