Pimcore\Model\Element\AbstractElement::getCacheTags PHP Метод

getCacheTags() публичный Метод

Get the cache tags for the element, resolve all dependencies to tag the cache entries This is necessary to update the cache if there is a change in an depended object
public getCacheTags ( array $tags = [] ) : array
$tags array
Результат array
    public function getCacheTags($tags = [])
    {
        $tags = is_array($tags) ? $tags : [];
        $tags[$this->getCacheTag()] = $this->getCacheTag();
        return $tags;
    }