final class MysqliStatement
    implements StatementInterface

mysqli prepared statement adapter implementing StatementInterface for ZTD layer.

This class wraps a mysqli_stmt and provides the minimal interface required by the ZTD session for executing statements and fetching results.

Methods§

public function __construct(mysqli_stmt $statement, mysqli $mysqli)

Adapt a prepared native statement and retain its connection for error details.

Parameters

$statementmysqli_stmt
$mysqlimysqli
public function fetchAll(): array
public function resultColumns(ResultColumnTypeResolver $typeResolver): array

Private surface 3§

Implementation details, listed for orientation only.

private mysqli_stmt $statement
private mysqli $mysqli
private mysqli_result|false|null $result = null

Test cases 7§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 7