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