芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/doctrine/dbal/src/SQL/Statement.php
|array
*/ private array $params = []; /** @var array
|array
*/ private array $types = []; /** @internal This statement can be only instantiated by its connection. */ public function __construct( StatementInterface $statement, private readonly LoggerInterface $logger, private readonly string $sql, ) { parent::__construct($statement); } public function bindValue(int|string $param, mixed $value, ParameterType $type): void { $this->params[$param] = $value; $this->types[$param] = $type; parent::bindValue($param, $value, $type); } public function execute(): ResultInterface { $this->logger->debug('Executing statement: {sql} (parameters: {params}, types: {types})', [ 'sql' => $this->sql, 'params' => $this->params, 'types' => $this->types, ]); return parent::execute(); } }