class CacheClearCommand extends AbstractCommand

Properties

protected InputInterface $input from AbstractCommand
protected OutputInterface $output from AbstractCommand
protected Store $cache
protected Application $app

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(Store $cache, Application $app)

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(Store $cache, Application $app)

Parameters

Store $cache
Application $app

protected configure()

<p>{@inheritdoc}</p>