| 1 | <?php |
||
| 7 | class SearchResponse implements PaginatedResponse |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var Response |
||
| 11 | */ |
||
| 12 | protected $response; |
||
| 13 | |||
| 14 | public function __construct(Response $response) |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return bool |
||
| 21 | */ |
||
| 22 | public function hasResponseData() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Parse bookmarks from response. |
||
| 33 | * |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | public function getBookmarks() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return array |
||
| 47 | */ |
||
| 48 | public function getResponseData() |
||
| 56 | } |