protected function processTags($tags)
    {
        if (!$tags) {
            return [];
        }

        $tags = explode(',', $tags);

        foreach ($tags as $key => $tag) {
            $tags[$key] = trim($tag);
        }

        return $tags;
    }
protected function processTags($tags)
    {
        if (!$tags) {
            return [];
        }

        $tags = explode(',', $tags);

        foreach ($tags as $key => $tag) {
            $tags[$key] = trim($tag);
        }

        return $tags;
    }
protected function processTags ( $ tags ) { if ( ! $ tags ) { return [ ] ; } $ tags = explode ( ',' , $ tags ) ; foreach ( $ tags as $ key => $ tag ) { $ tags [ $ key ] = trim ( $ tag ) ; } return $ tags ; }
Convert string of tags to array.

@param  string

@return array
Convert string of tags to array .