| Total Complexity | 5 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | final class SqlQueryResult implements \IteratorAggregate |
||
| 17 | { |
||
| 18 | private $data; |
||
| 19 | private $metadata; |
||
| 20 | |||
| 21 | public function __construct(array $data, array $metadata) |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getData() : array |
||
| 28 | { |
||
| 29 | return $this->data; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getMetadata() : array |
||
| 35 | } |
||
| 36 | |||
| 37 | public function getIterator() : \Generator |
||
| 46 |