public static function getDefaultFilter($filterName)
	{
		$filterName = ucfirst(strtolower($filterName));
		$className  = 's9e\\TextFormatter\\Configurator\\Items\\AttributeFilters\\' . $filterName . 'Filter';

		if (!class_exists($className))
		{
			throw new InvalidArgumentException("Unknown attribute filter '" . $filterName . "'");
		}

		return new $className;
	}
public static function getDefaultFilter($filterName)
	{
		$filterName = ucfirst(strtolower($filterName));
		$className  = 's9e\\TextFormatter\\Configurator\\Items\\AttributeFilters\\' . $filterName . 'Filter';

		if (!class_exists($className))
		{
			throw new InvalidArgumentException("Unknown attribute filter '" . $filterName . "'");
		}

		return new $className;
	}
public static function getDefaultFilter ( $ filterName ) { $ filterName = ucfirst ( strtolower ( $ filterName ) ) ; $ className = 's9e\\TextFormatter\\Configurator\\Items\\AttributeFilters\\' . $ filterName . 'Filter' ; if ( ! class_exists ( $ className ) ) { throw new InvalidArgumentException ( "Unknown attribute filter '" . $ filterName . "'" ) ; } return new $ className ; }
Get an instance of the default filter for given name

@param  string          $filterName Filter name, e.g. "int" or "color"
@return AttributeFilter
Get an instance of the default filter for given name