public function getCacheTags($tags = null)
    {
        if ($tags !== null) {
            return (array) $tags;
        }

        $tags = (array) $this->tags;
        $tags[] = static::VERSION_TAG;
        $tags[] = static::BASE_TAG;
        $tags[] = $this->from;

        if ($this->model) {
            $tags[] = get_class($this->model);
        }

        return $tags;
    }