src/Model/Tag.php
public function scopeByTagName($query, $tag_name)
	{
		// mormalize string
		$tag_name = app(TaggingUtility::class)->normalizeTagName(trim($tag_name));
		return $query->where('name', $tag_name);
	}
public function scopeByTagName($query, $tag_name)
	{
		// mormalize string
		$tag_name = app(TaggingUtility::class)->normalizeTagName(trim($tag_name));
		return $query->where('name', $tag_name);
	}
public function scopeByTagName ( $ query , $ tag_name ) { // mormalize string $ tag_name = app ( TaggingUtility :: class ) -> normalizeTagName ( trim ( $ tag_name ) ) ; return $ query -> where ( 'name' , $ tag_name ) ; }
Get one Tag item by tag name
Get one Tag item by tag name