public static function Instance() { if (is_null(self::$_instance)) { self::$_instance = new JsonDb(); } return self::$_instance; }
public function __construct() { $this->db = JsonDb::Instance(); }