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)

{@inheritdoc}

fire()

Fire the command.

bool
hasOption(string $name)

Did the user pass the given option?

info(string $message)

Send an info message to the user.

error(string $message)

Send an error or warning message to the user.

__construct(Store $cache, Application $app)

No description

configure()

{@inheritdoc}

Details

protected execute(InputInterface $input, OutputInterface $output)

{@inheritdoc}

Parameters

InputInterface $input
OutputInterface $output

protected fire()

Fire the command.

protected bool hasOption(string $name)

Did the user pass the given option?

Parameters

string $name

Return Value

bool

protected info(string $message)

Send an info message to the user.

Parameters

string $message

protected error(string $message)

Send an error or warning message to the user.

If possible, this will send the message via STDERR.

Parameters

string $message

__construct(Store $cache, Application $app)

Parameters

Store $cache
Application $app

protected configure()

{@inheritdoc}