| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class StatementResponse |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var array|Statement[] |
||
| 13 | */ |
||
| 14 | private $statements; |
||
| 15 | |||
| 16 | public function __construct(array $statements) |
||
| 19 | } |
||
| 20 | |||
| 21 | public static function fromResponse(array $data): self |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return array|Statement[] |
||
| 30 | */ |
||
| 31 | public function statements(): array |
||
| 36 |