File manager - Edit - /var/www/payraty/helpdesk/public/storage/branding_media/images/Driver.zip
Back
PK ! \Y�� ServerInfoAwareConnection.phpnu ȯ�� <?php namespace Doctrine\DBAL\Driver; /** * Contract for a connection that is able to provide information about the server it is connected to. * * @deprecated The methods defined in this interface will be made part of the {@see Driver} interface * in the next major release. */ interface ServerInfoAwareConnection extends Connection { /** * Returns information about the version of the database server connected to. * * @return string * * @throws Exception */ public function getServerVersion(); } PK ! Ƚ��3 3 AbstractException.phpnu ȯ�� <?php declare(strict_types=1); namespace Doctrine\DBAL\Driver; use Exception as BaseException; use Throwable; /** * Base implementation of the {@see Exception} interface. * * @internal * * @psalm-immutable */ abstract class AbstractException extends BaseException implements Exception { /** * The SQLSTATE of the driver. */ private ?string $sqlState = null; /** * @param string $message The driver error message. * @param string|null $sqlState The SQLSTATE the driver is in at the time the error occurred, if any. * @param int $code The driver specific error code if any. * @param Throwable|null $previous The previous throwable used for the exception chaining. */ public function __construct($message, $sqlState = null, $code = 0, ?Throwable $previous = null) { parent::__construct($message, $code, $previous); $this->sqlState = $sqlState; } /** * {@inheritDoc} */ public function getSQLState() { return $this->sqlState; } } PK ! 1�C�. . 5 AbstractSQLiteDriver/Middleware/EnableForeignKeys.phpnu ȯ�� <?php namespace Doctrine\DBAL\Driver\AbstractSQLiteDriver\Middleware; use Doctrine\DBAL\Driver; use Doctrine\DBAL\Driver\Connection; use Doctrine\DBAL\Driver\Middleware; use Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware; use SensitiveParameter; class EnableForeignKeys implements Middleware { public function wrap(Driver $driver): Driver { return new class ($driver) extends AbstractDriverMiddleware { /** * {@inheritDoc} */ public function connect( #[SensitiveParameter] array $params ): Connection { $connection = parent::connect($params); $connection->exec('PRAGMA foreign_keys=ON'); return $connection; } }; } } PK ! �=�� � "