| 1 | <?php |
||
| 20 | final class StatementResult |
||
| 21 | { |
||
| 22 | private $statements; |
||
| 23 | private $moreUrlPath; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param Statement[] $statements The collection of Statements |
||
| 27 | */ |
||
| 28 | public function __construct(array $statements, IRL $moreUrlPath = null) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Returns the Statements. |
||
| 36 | * |
||
| 37 | * @return Statement[] |
||
| 38 | */ |
||
| 39 | public function getStatements(): array |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Relative IRL that can be used to retrieve the next results. |
||
| 46 | */ |
||
| 47 | public function getMoreUrlPath(): ?IRL |
||
| 51 | } |
||
| 52 |