final class PdoConnection
    implements ConnectionInterface
Restricted visibility: declared "@visibility ZtdQuery\Adapter\Pdo". Code outside that scope must not name this declaration.

PDO adapter implementing ConnectionInterface for ZTD layer.

This class wraps a PDO instance and provides the minimal interface required by the ZTD session for executing queries.

Methods§

public function __construct(PDO $pdo)

Binds the instance to what it will work from.

Parameters

$pdoPDO
public function query(string $sql): StatementInterface|false

Private surface 1§

Implementation details, listed for orientation only.

private PDO $pdo

Test cases 36§

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

Dedicated tests 5
Other tests reaching this symbol 31

Relations§

Instantiated in 1