public function getCacheTags($tags = []) { $tags = is_array($tags) ? $tags : []; $tags = parent::getCacheTags($tags); foreach ($this->getElements() as $element) { $tags = $element->getCacheTags($this, $tags); } return $tags; }