ok
Direktori : /home2/selectio/public_html/innerstore/vendor/doctrine/dbal/src/Logging/ |
Current File : /home2/selectio/public_html/innerstore/vendor/doctrine/dbal/src/Logging/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); } }