class ResetCommand extends AbstractCommand

Properties

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

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 $manager)

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 $manager)

Parameters

ExtensionManager $manager

protected configure()

<p>{@inheritdoc}</p>