1 | <?php |
||
8 | class ResultSet extends ResultSetBase |
||
9 | { |
||
10 | /** |
||
11 | * @var Connection |
||
12 | */ |
||
13 | protected $connection; |
||
14 | |||
15 | /** |
||
16 | * @var \mysqli_result |
||
17 | */ |
||
18 | protected $result; |
||
19 | |||
20 | /** |
||
21 | * @param Connection $connection |
||
22 | * @param null|\mysqli_result $result |
||
23 | */ |
||
24 | public function __construct(Connection $connection, $result = null) |
||
31 | |||
32 | /** |
||
33 | * Get the result object returned by PHP's MySQLi |
||
34 | * |
||
35 | * @return \mysqli_result |
||
36 | * |
||
37 | * @codeCoverageIgnore |
||
38 | */ |
||
39 | public function getResultObject() |
||
43 | |||
44 | /** |
||
45 | * Get the MySQLi connection wrapper object |
||
46 | * |
||
47 | * @return Connection |
||
48 | * |
||
49 | * @codeCoverageIgnore |
||
50 | */ |
||
51 | public function getConnection() |
||
55 | |||
56 | /** |
||
57 | * Get the PHP MySQLi object |
||
58 | * |
||
59 | * @return \mysqli |
||
60 | * @throws ConnectionException |
||
61 | */ |
||
62 | public function getMysqliConnection() |
||
66 | } |
||
67 |