Exemple #1
0
 /**
  * Find a tag by its name.
  *
  * @param $name
  *
  * @return mixed
  */
 public static function findByName($name)
 {
     $normalized = Util::normalizeName($name);
     return static::where('normalized', $normalized)->first();
 }