class InfoCommand extends AbstractCommand

Properties

protected $input from AbstractCommand
protected $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)

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

__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)

<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

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