Sindbad~EG File Manager

Current Path : /opt/nginxhttpd_/vendor/doctrine/orm/src/Query/Exec/
Upload File :
Current File : //opt/nginxhttpd_/vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php

<?php

declare(strict_types=1);

namespace Doctrine\ORM\Query\Exec;

use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Result;
use Doctrine\DBAL\Types\Type;

/**
 * SQL executor for a given, final, single SELECT SQL query
 *
 * @method string getSqlStatements()
 */
class FinalizedSelectExecutor extends AbstractSqlExecutor
{
    public function __construct(string $sql)
    {
        parent::__construct();

        $this->sqlStatements = $sql;
    }

    /**
     * @param list<mixed>|array<string, mixed>                                     $params
     * @param array<int, int|string|Type|null>|array<string, int|string|Type|null> $types
     */
    public function execute(Connection $conn, array $params, array $types): Result
    {
        return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists