1
0
Fork 0

add removePackage() to RepositoryInterface

pull/7565/head
Rob Bast 2018-08-20 10:41:34 +02:00
parent 7d273f7cd8
commit cfb0d33c45
No known key found for this signature in database
GPG Key ID: 73076E35E6165F39
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' => '...') * @return array[] an array of array('name' => '...', 'description' => '...')
*/ */
public function search($query, $mode = 0); public function search($query, $mode = 0);
/**
* Removes a package from the registered packages list.
*
* @param PackageInterface $package
*/
public function removePackage(PackageInterface $package);
} }