Merge pull request #7565 from alcohol/add-remove-to-pkgrepointerface
add removePackage() to RepositoryInterfacepull/7623/merge
commit
a1ead0e868
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue