class InfoCommand extends AbstractCommand

Properties

protected InputInterface $input from AbstractCommand
protected OutputInterface $output from AbstractCommand
protected ExtensionManager $extensions
protected Config $config
protected SettingsRepositoryInterface $settings
protected ConnectionInterface $db

Methods

execute(InputInterface $input, OutputInterface $output)

<p>{@inheritdoc}</p>

fire()

<p>Fire the command.</p>

bool
hasOption(string $name)

<p>Did the user pass the given option?</p>

info(string $message)

<p>Send an info message to the user.</p>

error(string $message)

<p>Send an error or warning message to the user.</p>

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

No description

configure()

<p>{@inheritdoc}</p>

Details

protected execute(InputInterface $input, OutputInterface $output)

<p>{@inheritdoc}</p>

Parameters

InputInterface $input
OutputInterface $output

protected fire()

<p>Fire the command.</p>

protected bool hasOption(string $name)

<p>Did the user pass the given option?</p>

Parameters

string $name

Return Value

bool

protected info(string $message)

<p>Send an info message to the user.</p>

Parameters

string $message

protected error(string $message)

<p>Send an error or warning message to the user.</p>

<p>If possible, this will send the message via STDERR.</p>

Parameters

string $message

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

Parameters

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

protected configure()

<p>{@inheritdoc}</p>