public function setTags($tags)
    {
        $this->tags = [];
        $this->ref = null;

        if (is_array($tags)) {
            foreach ($tags as $tag) {
                $this->addTag($tag);
            }
        } else {
            $this->addTag($tags);
        }

        return $this;
    }
public function setTags($tags)
    {
        $this->tags = [];
        $this->ref = null;

        if (is_array($tags)) {
            foreach ($tags as $tag) {
                $this->addTag($tag);
            }
        } else {
            $this->addTag($tags);
        }

        return $this;
    }
public function setTags ( $ tags ) { $ this -> tags = [ ] ; $ this -> ref = null ; if ( is_array ( $ tags ) ) { foreach ( $ tags as $ tag ) { $ this -> addTag ( $ tag ) ; } } else { $ this -> addTag ( $ tags ) ; } return $ this ; }
Sets the tags of the TimePoint
@param string|array $tags
@return TimePoint
Sets the tags of the TimePoint