Cviebrock\EloquentTaggable\Taggable::untag PHP Method

untag() public method

Detach one or multiple Tags from a Model.
public untag ( string | array $tags )
$tags string | array
    public function untag($tags)
    {
        $tags = app(TagService::class)->buildTagArray($tags);
        foreach ($tags as $tagName) {
            $this->removeOneTag($tagName);
        }
        return $this->load('tags');
    }