1: <?php
2:
3: namespace ngatngay\database;
4:
5: use PDOStatement;
6: use PDO;
7:
8: class statement extends PDOStatement
9: {
10: protected function __construct()
11: {
12: $this->setFetchMode(PDO::FETCH_CLASS, row::class);
13: }
14: }
15: