* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ namespace PrestaShop\Module\LinkList\Cache; use Module; use Ps_Linklist; /** * Class LegacyBlockCache. */ final class LegacyLinkBlockCache implements LinkBlockCacheInterface { /** * {@inheritdoc} */ public function clearModuleCache() { /** @var Ps_Linklist $module */ $module = Module::getInstanceByName(Ps_Linklist::MODULE_NAME); $module->_clearCache($module->templateFile); } }