| 1 | <?php |
||
| 7 | class SearchResponse implements PaginatedResponse |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var Response |
||
| 11 | */ |
||
| 12 | protected $response; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param Response $response |
||
| 16 | */ |
||
| 17 | public function __construct(Response $response) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return bool |
||
| 24 | */ |
||
| 25 | public function hasResponseData() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Parse bookmarks from response. |
||
| 36 | * |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | public function getBookmarks() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return array |
||
| 50 | */ |
||
| 51 | public function getResponseData() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return bool |
||
| 62 | */ |
||
| 63 | public function isEmpty() |
||
| 67 | } |