*/ class Converter { /** * Identity converter. Returns the string with no transformations. * * @return Converter */ public static function identity() { static $result = null; if(empty($result)) { $result = new self(); } return $result; } function convert($string) { return $string; } }