![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/vendor/doctrine/dbal/src/Portability/ |
<?php declare(strict_types=1); namespace Doctrine\DBAL\Portability; use Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware; use Doctrine\DBAL\Driver\Result as ResultInterface; use Doctrine\DBAL\Driver\Statement as DriverStatement; /** * Portability wrapper for a Statement. */ final class Statement extends AbstractStatementMiddleware { /** * Wraps <tt>Statement</tt> and applies portability measures. */ public function __construct(DriverStatement $stmt, private readonly Converter $converter) { parent::__construct($stmt); } public function execute(): ResultInterface { return new Result( parent::execute(), $this->converter, ); } }