class InfoCommand extends AbstractCommand

Properties

protected InputInterface $input from AbstractCommand
protected OutputInterface $output from AbstractCommand

Methods

int
execute(InputInterface $input, OutputInterface $output)

No description

int
fire()

No description

bool
hasOption(string $name)

No description

void
info(string $message)

No description

void
error(string $message)

Send an error or warning message to the user.

__construct(ExtensionManager $extensions, Config $config, SettingsRepositoryInterface $settings, ConnectionInterface $db, ApplicationInfoProvider $appInfo)

No description

void
configure()

No description

Details

protected int execute(InputInterface $input, OutputInterface $output)

Parameters

InputInterface $input
OutputInterface $output

Return Value

int

protected int fire()

Return Value

int

protected bool hasOption(string $name)

Parameters

string $name

Return Value

bool

protected void info(string $message)

Parameters

string $message

Return Value

void

protected void error(string $message)

Send an error or warning message to the user.

If possible, this will send the message via STDERR.

Parameters

string $message

Return Value

void

__construct(ExtensionManager $extensions, Config $config, SettingsRepositoryInterface $settings, ConnectionInterface $db, ApplicationInfoProvider $appInfo)

Parameters

ExtensionManager $extensions
Config $config
SettingsRepositoryInterface $settings
ConnectionInterface $db
ApplicationInfoProvider $appInfo

protected void configure()

Return Value

void