abstract class AbstractCommand extends Command

Properties

protected $input
protected $output

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>

Details

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

Parameters

InputInterface $input
OutputInterface $output

Return Value

int

abstract 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