\App\GatewayModule\Models\PackageManagersIPackageManager

Interface for package managers

Summary

Methods
Constants
install()
listUpgradable()
getUpgradable()
purge()
remove()
update()
upgrade()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

install()

install(  callback, string||string|int  packages) : 

Installs the packages

Parameters

callback

Callback

string||string|int packages

Packages to install

Returns

listUpgradable()

listUpgradable(  callback) : 

Lists upgradable packages

Parameters

callback

Callback

Returns

getUpgradable()

getUpgradable() : mixed||string|int

Returns list of upgradable packages

Returns

mixed||string|int —

Upgradable packages

purge()

purge(  callback, string||string|int  packages) : 

Purges the packages

Parameters

callback

Callback

string||string|int packages

Packages to purge

Returns

remove()

remove(  callback, string||string|int  packages) : 

Removes the packages

Parameters

callback

Callback

string||string|int packages

Packages to remove

Returns

update()

update(  callback) : 

Updates a list of packages

Parameters

callback

Callback

Returns

upgrade()

upgrade(  callback) : 

Upgrades packages

Parameters

callback

Callback

Returns