public static function init($args = null) { if (is_null(self::$instance)) { self::$instance = new ErrorClass($args); } return self::$instance; }