| 1 | <?php |
||
| 11 | class NewsResource extends AbstractResource |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @param integer $id |
||
| 15 | * @return NewsResponse |
||
| 16 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 17 | * @throws \Igorsgm\TibiaDataApi\Exceptions\NotFoundException |
||
| 18 | * @throws \Igorsgm\TibiaDataApi\Exceptions\ImmutableException |
||
| 19 | */ |
||
| 20 | public function get($id) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return NewslistResponse |
||
| 29 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 30 | * @throws \Igorsgm\TibiaDataApi\Exceptions\ImmutableException |
||
| 31 | */ |
||
| 32 | public function getLatestNews() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return NewslistResponse |
||
| 41 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 42 | * @throws \Igorsgm\TibiaDataApi\Exceptions\ImmutableException |
||
| 43 | */ |
||
| 44 | public function getNewstickers() |
||
| 50 | } |
||
| 51 |