404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.226.222.3: ~ $
<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Portability;

use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\Middleware as MiddlewareInterface;

final class Middleware implements MiddlewareInterface
{
    private int $mode;

    private int $case;

    public function __construct(int $mode, int $case)
    {
        $this->mode = $mode;
        $this->case = $case;
    }

    public function wrap(DriverInterface $driver): DriverInterface
    {
        if ($this->mode !== 0) {
            return new Driver($driver, $this->mode, $this->case);
        }

        return $driver;
    }
}

Filemanager

Name Type Size Permission Actions
Connection.php File 1.16 KB 0644
Converter.php File 7.95 KB 0644
Driver.php File 2.05 KB 0644
Middleware.php File 621 B 0644
OptimizeFlags.php File 1.17 KB 0644
Result.php File 1.66 KB 0644
Statement.php File 827 B 0644