public static function normalize($name)
	{
		if (!static::isValid($name))
		{
			throw new InvalidArgumentException("Invalid tag name '" . $name . "'");
		}

		// Non-namespaced tags are uppercased
		if (strpos($name, ':') === false)
		{
			$name = strtoupper($name);
		}

		return $name;
	}
public static function normalize($name)
	{
		if (!static::isValid($name))
		{
			throw new InvalidArgumentException("Invalid tag name '" . $name . "'");
		}

		// Non-namespaced tags are uppercased
		if (strpos($name, ':') === false)
		{
			$name = strtoupper($name);
		}

		return $name;
	}
public static function normalize ( $ name ) { if ( ! static :: isValid ( $ name ) ) { throw new InvalidArgumentException ( "Invalid tag name '" . $ name . "'" ) ; } // Non-namespaced tags are uppercased if ( strpos ( $ name , ':' ) === false ) { $ name = strtoupper ( $ name ) ; } return $ name ; }
Normalize a tag name

@throws InvalidArgumentException if the original name is not valid

@param  string $name Original name
@return string       Normalized name
Normalize a tag name