decoratedStatement->bindValue($param, $value, $type); } /** * {@inheritdoc} */ public function bindParam($param, &$variable, $type = ParameterType::STRING, $length = null): bool { return $this->decoratedStatement->bindParam($param, $variable, $type, ...\array_slice(\func_get_args(), 3)); } /** * {@inheritdoc} */ public function execute($params = null): Result { $spanContext = new SpanContext(); $spanContext->setOp(self::SPAN_OP_STMT_EXECUTE); $spanContext->setDescription($this->sqlQuery); $spanContext->setTags($this->spanTags); return $this->traceFunction($spanContext, [$this->decoratedStatement, 'execute'], $params); } }