pdo()); return $instance; } public static function enableStacking(){ static::$driver->enableStacking(); } public static function flushStack(){ static::$driver->flushStack(); } public static function getDebug() : array{ return static::$driver->getDebug(); } public static function isDebugEnabled() : bool{ return static::$driver->isDebugEnabled(); } public static function switchDatabase(string $dbName){ return static::$driver->pdo()->prepare("USE $dbName")->execute(); } }