public static function normalize($name)
	{
		$name = (string) $name;

		if (!static::isValid($name))
		{
			throw new InvalidArgumentException("Invalid parameter name '" . $name . "'");
		}

		return $name;
	}
public static function normalize($name)
	{
		$name = (string) $name;

		if (!static::isValid($name))
		{
			throw new InvalidArgumentException("Invalid parameter name '" . $name . "'");
		}

		return $name;
	}
public static function normalize ( $ name ) { $ name = ( string ) $ name ; if ( ! static :: isValid ( $ name ) ) { throw new InvalidArgumentException ( "Invalid parameter name '" . $ name . "'" ) ; } return $ name ; }
Normalize a template parameter name

@param  string $name Original name
@return string       Normalized name
Normalize a template parameter name