Pimcore\Model\Document\Link::getCacheTags PHP Метод

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

Resolves dependencies and create tags for caching out of them
public getCacheTags ( $tags = [] ) : array
Результат array
    public function getCacheTags($tags = [])
    {
        $tags = is_array($tags) ? $tags : [];
        $tags = parent::getCacheTags($tags);
        if ($this->getLinktype() == "internal") {
            if ($this->getObject() instanceof Document || $this->getObject() instanceof Asset) {
                if ($this->getObject()->getId() != $this->getId() and !array_key_exists($this->getObject()->getCacheTag(), $tags)) {
                    $tags = $this->getObject()->getCacheTags($tags);
                }
            }
        }
        return $tags;
    }