src/Taggable.php
public function tag($tagNames)
    {
        $tagNames = static::$taggingUtility->makeTagArray($tagNames);

        foreach($tagNames as $tagName) {
            $this->addTag($tagName);
        }
    }
public function tag($tagNames)
    {
        $tagNames = static::$taggingUtility->makeTagArray($tagNames);

        foreach($tagNames as $tagName) {
            $this->addTag($tagName);
        }
    }
public function tag ( $ tagNames ) { $ tagNames = static :: $ taggingUtility -> makeTagArray ( $ tagNames ) ; foreach ( $ tagNames as $ tagName ) { $ this -> addTag ( $ tagName ) ; } }
Perform the action of tagging the model with the given string

@param string|array $tagNames
Perform the action of tagging the model with the given string