1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/11150] Add extension:start-managing command

PHPBB3-11150
This commit is contained in:
Tristan Darricau
2015-09-11 18:01:56 +02:00
committed by Tristan Darricau
parent 779c9c8552
commit 00229c20f0
12 changed files with 331 additions and 32 deletions

View File

@@ -54,16 +54,34 @@ interface manager_interface
public function is_managed($packages);
/**
* Returns the list of managed packages
* Returns the list of managed packages for the current type
*
* @return array The managed packages associated to their version.
*/
public function get_managed_packages();
/**
* Returns the list of managed packages for all phpBB types
*
* @return array The managed packages associated to their version.
*/
public function get_all_managed_packages();
/**
* Returns the list of available packages
*
* @return array The name of the available packages, associated to their definition. Ordered by name.
*/
public function get_available_packages();
/**
* Start managing a manually installed package
*
* Remove a package installed manually and reinstall it using composer.
*
* @param string $package Package to manage
*
* @throws runtime_exception
*/
public function start_managing($package);
}