Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.188.152.124
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
doctrine /
dbal /
src /
Driver /
PDO /
Delete
Unzip
Name
Size
Permission
Date
Action
MySQL
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
OCI
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
PgSQL
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
SQLSrv
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
SQLite
[ DIR ]
drwxrwxr-x
2022-08-21 14:21
Connection.php
3.44
KB
-rw-rw-r--
2022-08-21 14:21
Exception.php
617
B
-rw-rw-r--
2022-08-21 14:21
Result.php
2.36
KB
-rw-rw-r--
2022-08-21 14:21
Statement.php
4.52
KB
-rw-rw-r--
2022-08-21 14:21
Save
Rename
<?php namespace Doctrine\DBAL\Driver\PDO; use Doctrine\DBAL\Driver\Result as ResultInterface; use Doctrine\DBAL\Driver\ServerInfoAwareConnection; use Doctrine\DBAL\Driver\Statement as StatementInterface; use Doctrine\DBAL\ParameterType; use Doctrine\Deprecations\Deprecation; use PDO; use PDOException; use PDOStatement; use function assert; final class Connection implements ServerInfoAwareConnection { private PDO $connection; /** * @internal The connection can be only instantiated by its driver. */ public function __construct(PDO $connection) { $connection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $this->connection = $connection; } public function exec(string $sql): int { try { $result = $this->connection->exec($sql); assert($result !== false); return $result; } catch (PDOException $exception) { throw Exception::new($exception); } } /** * {@inheritdoc} */ public function getServerVersion() { return $this->connection->getAttribute(PDO::ATTR_SERVER_VERSION); } /** * {@inheritDoc} * * @return Statement */ public function prepare(string $sql): StatementInterface { try { $stmt = $this->connection->prepare($sql); assert($stmt instanceof PDOStatement); return new Statement($stmt); } catch (PDOException $exception) { throw Exception::new($exception); } } public function query(string $sql): ResultInterface { try { $stmt = $this->connection->query($sql); assert($stmt instanceof PDOStatement); return new Result($stmt); } catch (PDOException $exception) { throw Exception::new($exception); } } /** * {@inheritdoc} */ public function quote($value, $type = ParameterType::STRING) { return $this->connection->quote($value, $type); } /** * {@inheritdoc} */ public function lastInsertId($name = null) { try { if ($name === null) { return $this->connection->lastInsertId(); } Deprecation::triggerIfCalledFromOutside( 'doctrine/dbal', 'https://github.com/doctrine/dbal/issues/4687', 'The usage of Connection::lastInsertId() with a sequence name is deprecated.' ); return $this->connection->lastInsertId($name); } catch (PDOException $exception) { throw Exception::new($exception); } } public function beginTransaction(): bool { return $this->connection->beginTransaction(); } public function commit(): bool { return $this->connection->commit(); } public function rollBack(): bool { return $this->connection->rollBack(); } public function getNativeConnection(): PDO { return $this->connection; } /** * @deprecated Call {@see getNativeConnection()} instead. */ public function getWrappedConnection(): PDO { Deprecation::triggerIfCalledFromOutside( 'doctrine/dbal', 'https://github.com/doctrine/dbal/pull/5037', '%s is deprecated, call getNativeConnection() instead.', __METHOD__ ); return $this->getNativeConnection(); } }