src/Taggable.php
public function untag($tagNames=null)
    {
        if(is_null($tagNames)) {
            $tagNames = $this->tagNames();
        }

        $tagNames = static::$taggingUtility->makeTagArray($tagNames);

        foreach($tagNames as $tagName) {
            $this->removeTag($tagName);
        }

        if(static::shouldDeleteUnused()) {
            static::$taggingUtility->deleteUnusedTags();
        }
    }
public function untag($tagNames=null)
    {
        if(is_null($tagNames)) {
            $tagNames = $this->tagNames();
        }

        $tagNames = static::$taggingUtility->makeTagArray($tagNames);

        foreach($tagNames as $tagName) {
            $this->removeTag($tagName);
        }

        if(static::shouldDeleteUnused()) {
            static::$taggingUtility->deleteUnusedTags();
        }
    }
public function untag ( $ tagNames = null ) { if ( is_null ( $ tagNames ) ) { $ tagNames = $ this -> tagNames ( ) ; } $ tagNames = static :: $ taggingUtility -> makeTagArray ( $ tagNames ) ; foreach ( $ tagNames as $ tagName ) { $ this -> removeTag ( $ tagName ) ; } if ( static :: shouldDeleteUnused ( ) ) { static :: $ taggingUtility -> deleteUnusedTags ( ) ; } }
Remove the tag from this model

@param string|array|null $tagNames (or null to remove all tags)
Remove the tag from this model