CheckJoomlaUpdatesCommand

Extends \Joomla\Console\Command\AbstractCommand

Console command for checking if there are pending extension updates

since

4.0.0

package

Application

Methods

configure

Initialise the command.

configure() : void
since

4.0.0

doExecute

Internal function to execute the command.

doExecute(\Symfony\Component\Console\Input\InputInterface input, \Symfony\Component\Console\Output\OutputInterface output) : int
since

4.0.0

Arguments

input

\Symfony\Component\Console\Input\InputInterfaceThe input to inject into the command.

output

\Symfony\Component\Console\Output\OutputInterfaceThe output to inject into the command.

Response

intThe command exit code

getUpdateInfo

Gets the Update Information

getUpdateInfo() : mixed
since

4.0.0

Response

mixed

getUpdateInformationFromModel

Retrieves Update Information

getUpdateInformationFromModel() : mixed
since

4.0.0

Response

mixed

setUpdateInfo

Sets the Update Information

setUpdateInfo(null info = null) : void
since

4.0.0

Arguments

info

nullstores update Information

Properties

defaultName

The default command name

static
since

4.0.0

Type(s)

string

updateInfo

Stores the Update Information

since

4.0.0

Type(s)

\Joomla\Component\Joomlaupdate\Administrator\Model\UpdateModel