14 $this->setName(
'cache:invalidate')
15 ->setDescription(
elgg_echo(
'cli:cache:invalidate:description'));
24 if (!$this->
option(
'quiet')) {
elgg_invalidate_caches()
Invalidate all the registered caches.
option($name)
Returns option value.
write($messages, $style='info')
Write messages to output buffer.
elgg-cli cache:invalidate
command()
{Command to be executed.This method should return an integer code of the error (or 0 for success)....
Abstract command with some utility methods.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.