protected function prepareTags($tags)
    {
        if (is_string($tags) && mb_strpos($tags, static::getTagsDelimiter()) !== false) {
            $delimiter = preg_quote(static::getTagsDelimiter(), '#');
            $tags = array_map('trim', preg_split("#[{$delimiter}]#", $tags, -1, PREG_SPLIT_NO_EMPTY));
        }

        return $tags;
    }