| 1 | <?php |
||
| 20 | final class StatementResult |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var Statement[] The collection of Statements |
||
| 24 | */ |
||
| 25 | private $statements; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | private $moreUrlPath; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param Statement[] $statements The collection of Statements |
||
| 34 | * @param string $urlPath The URL path |
||
| 35 | */ |
||
| 36 | public function __construct(array $statements, $urlPath = null) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Returns the Statements. |
||
| 44 | * |
||
| 45 | * @return Statement[] The Statements |
||
| 46 | */ |
||
| 47 | public function getStatements() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Returns the absolute path under which the next results can be retrieved. |
||
| 54 | * |
||
| 55 | * @return string The URL path |
||
| 56 | */ |
||
| 57 | public function getMoreUrlPath() |
||
| 61 | } |
||
| 62 |