+ protected static $instance = null;
+
+ /**
+ * This class is singleton, so that later we can move to DI patterns.
+ *
+ * @return Charset
+ */
+ public static function instance()
+ {
+ if (self::$instance === null) {
+ self::$instance = new self();
+ }
+
+ return self::$instance;
+ }
+