Pimcore\Model\Asset::clearDependentCache PHP Method

clearDependentCache() public method

public clearDependentCache ( array $additionalTags = [] )
$additionalTags array
    public function clearDependentCache($additionalTags = [])
    {
        try {
            $tags = ["asset_" . $this->getId(), "asset_properties", "output"];
            $tags = array_merge($tags, $additionalTags);
            \Pimcore\Cache::clearTags($tags);
        } catch (\Exception $e) {
            Logger::crit($e);
        }
    }