/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/Command
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/Command/CacheClearallCommand.php (2131B)
setDescription('Clear all data in all configured cache engines.');
return $parser;
}
/**
* Implement this method with your command's logic.
*
* @param \Cake\Console\Arguments $args The command arguments.
* @param \Cake\Console\ConsoleIo $io The console io
* @return int|null The exit code or null for success
*/
public function execute(Arguments $args, ConsoleIo $io): ?int
{
$engines = Cache::configured();
foreach ($engines as $engine) {
$this->executeCommand(CacheClearCommand::class, [$engine], $io);
}
return static::CODE_SUCCESS;
}
}