/** * @param $context ResourceLoaderContext * @return string: Hash */ public function getModifiedHash(ResourceLoaderContext $context) { $logo = $this->getConfig()->get('Logo'); $logoHD = $this->getConfig()->get('LogoHD'); return md5(parent::getModifiedHash($context) . $logo . json_encode($logoHD)); }
/** * @param ResourceLoaderContext $context * @return string Hash */ public function getModifiedHash(ResourceLoaderContext $context) { return md5(parent::getModifiedHash($context) . serialize($this->getLessVars($context))); }