CheckJoomlaUpdatesCommand
Extends AbstractCommandConsole command for checking if there are pending extension updates
| since |
4.0.0 |
|---|---|
| package |
Joomla CMS |
Methods
__construct
Command constructor (overridden to include the alias)
__construct(string|null name = null) :
| since |
5.1.0 |
|---|---|
| deprecated |
5.1.0 will be removed in 6.0 Use core:update:check instead of core:check-updates |
Arguments
- name
string|nullThe name of the command; if the name is empty and no default is set, a name must be set in the configure() method
Response
mixed
configure
Initialise the command.
configure() :
| since |
4.0.0 |
|---|
Response
void
doExecute
Internal function to execute the command.
doExecute(\Symfony\Component\Console\Input\InputInterface input, \Symfony\Component\Console\Output\OutputInterface output) :
| since |
4.0.0 |
|---|
Arguments
- input
InputInterfaceThe input to inject into the command.- output
OutputInterfaceThe output to inject into the command.
Response
intThe command exit code
getUpdateInfo
Gets the Update Information
getUpdateInfo() :
| since |
4.0.0 |
|---|
Response
mixed
getUpdateInformationFromModel
Retrieves Update Information
getUpdateInformationFromModel() :
| since |
4.0.0 |
|---|
Response
mixed
setUpdateInfo
Sets the Update Information
setUpdateInfo( info = null) :
| since |
4.0.0 |
|---|
Arguments
- info
nullstores update Information
Response
void
Properties
defaultName
The default command name
| since |
4.0.0 |
|---|
Type(s)
string
updateInfo
Stores the Update Information
| since |
4.0.0 |
|---|
Type(s)
UpdateModel