Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./phpoption/../laravel/../nikic/../telnyx/../brick/../unicodeveloper/../firebase/../nunomaduro/../phpoption/./../doctrine/dbal/src/Logging
الملفات الموجودة في هذا الـ Path:
.
..
Connection.php
DebugStack.php
Driver.php
LoggerChain.php
Middleware.php
SQLLogger.php
Statement.php
مشاهدة ملف: Middleware.php
<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Logging;
use Doctrine\DBAL\Driver as DriverInterface;
use Doctrine\DBAL\Driver\Middleware as MiddlewareInterface;
use Psr\Log\LoggerInterface;
final class Middleware implements MiddlewareInterface
{
private LoggerInterface $logger;
public function __construct(LoggerInterface $logger)
{
$this->logger = $logger;
}
public function wrap(DriverInterface $driver): DriverInterface
{
return new Driver($driver, $this->logger);
}
}