manager_interface
interface manager_interface
Class to manage packages through composer.
Methods
Installs (if necessary) a set of packages
Updates or installs a set of packages
Removes a set of packages
Tells whether or not a package is managed by Composer.
Returns the list of managed packages for the current type
Returns the list of managed packages for all phpBB types
Returns the list of available packages
Reset the cache
Start managing a manually installed package
Checks the requirements of the manager and returns true if it can be used.
Details
at line 33
install(array $packages, IOInterface $io = null)
Installs (if necessary) a set of packages
at line 44
update(array $packages, IOInterface $io = null)
Updates or installs a set of packages
at line 55
remove(array $packages, IOInterface $io = null)
Removes a set of packages
at line 64
bool
is_managed(string $packages)
Tells whether or not a package is managed by Composer.
at line 71
array
get_managed_packages()
Returns the list of managed packages for the current type
at line 78
array
get_all_managed_packages()
Returns the list of managed packages for all phpBB types
at line 85
array
get_available_packages()
Returns the list of available packages
at line 90
reset_cache()
Reset the cache
at line 102
start_managing(string $package, IOInterface $io)
Start managing a manually installed package
Remove a package installed manually and reinstall it using composer.
at line 109
bool
check_requirements()
Checks the requirements of the manager and returns true if it can be used.