public function fire()
{
$context = $this->getLaravel()->make('Aimeos\\Shop\\Base\\Context')->get(false, 'command');
$context->setEditor('aimeos:cache');
$localeManager = \Aimeos\MShop\Locale\Manager\Factory::createManager($context);
foreach ($this->getSiteItems($context, $this->argument('site')) as $siteItem) {
$localeItem = $localeManager->bootstrap($siteItem->getCode(), '', '', false);
$lcontext = clone $context;
$lcontext->setLocale($localeItem);
$cache = new \Aimeos\MAdmin\Cache\Proxy\Standard($lcontext);
$lcontext->setCache($cache);
$this->info(sprintf('Clearing the Aimeos cache for site "%1$s"', $siteItem->getCode()));
\Aimeos\MAdmin\Cache\Manager\Factory::createManager($lcontext)->getCache()->flush();
}
}