class AbstractCommand extends Command (View source)

Constants

EXIT_OK

EXIT_NOT_OK

Properties

protected InputInterface $input
protected OutputInterface $output

Methods

configure()

No description

execute(InputInterface $input, OutputInterface $output)

No description

bool
canExecute()

No description

writeLn(string|array $messages, int $type = OutputInterface::OUTPUT_NORMAL)

No description

string|string[]|bool|null
getOptionValue(string $name)

No description

Details

protected configure()

See also

\Symfony\Component\Console\Command\Command::configure()

protected execute(InputInterface $input, OutputInterface $output)

Parameters

InputInterface $input
OutputInterface $output

See also

\Symfony\Component\Console\Command\Command::execute()

protected bool canExecute()

Return Value

bool

protected writeLn(string|array $messages, int $type = OutputInterface::OUTPUT_NORMAL)

Parameters

string|array $messages
int $type

protected string|string[]|bool|null getOptionValue(string $name)

Parameters

string $name

Return Value

string|string[]|bool|null