1 | <?php |
||
9 | class NewslistResponse extends AbstractResponse |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @var Newslist |
||
14 | */ |
||
15 | private $newslist; |
||
16 | |||
17 | /** |
||
18 | * NewslistResponse constructor. |
||
19 | * @param \stdClass $response |
||
20 | * @throws \Igorsgm\TibiaDataApi\Exceptions\ImmutableException |
||
21 | * @throws \Exception |
||
22 | */ |
||
23 | public function __construct(\stdClass $response) |
||
41 | |||
42 | /** |
||
43 | * @return Newslist |
||
44 | */ |
||
45 | public function getNewslist(): Newslist |
||
49 | } |
||
50 |