2025-07-30 18:33:02 +03:00

45 lines
917 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace goodboyalex\php_db_components_pack\enums;
use goodboyalex\php_components_pack\traits\EnumExtensionsTrait;
/**
*Перечисление PDO-драйверов.
*
* @author Александр Бабаев
* @package php_db_components_pack
* @version 1.0
* @since 1.0
* @see \PDO
*/
enum DBDriver: int
{
// Подключаем trait для работы с перечислениями
use EnumExtensionsTrait;
/**
* MySQL
*/
case MySQL = 0;
/**
* Microsoft SQL
*/
case MSSQL = 1;
/**
* PostgreSQL
*/
case PostgreSQL = 2;
/**
* OracleDB
*/
case OracleDB = 3;
/**
* SQLite
*/
case SQLite = 4;
}