| 1 | <?php |
||
| 11 | class WorldsResource extends AbstractResource |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @param string $name |
||
| 15 | * @return WorldResponse |
||
| 16 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 17 | * @throws \Igorsgm\TibiaDataApi\Exceptions\NotFoundException |
||
| 18 | * @throws \Igorsgm\TibiaDataApi\Exceptions\ImmutableException |
||
| 19 | */ |
||
| 20 | public function get(string $name): WorldResponse |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return WorldsResponse |
||
| 29 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 30 | * @throws \Igorsgm\TibiaDataApi\Exceptions\ImmutableException |
||
| 31 | */ |
||
| 32 | public function getList(): WorldsResponse |
||
| 38 | } |
||
| 39 |