1 | <?php |
||
12 | class AbstractResponse |
||
13 | { |
||
14 | /** |
||
15 | * @var Information |
||
16 | */ |
||
17 | private $information; |
||
18 | |||
19 | /** |
||
20 | * AbstractResponse constructor. |
||
21 | * @param \stdClass $response |
||
22 | * @throws \Igorsgm\TibiaDataApi\Exceptions\ImmutableException |
||
23 | * @throws \Exception |
||
24 | */ |
||
25 | public function __construct(\stdClass $response) |
||
34 | |||
35 | /** |
||
36 | * @return Information |
||
37 | */ |
||
38 | public function getInformation(): Information |
||
42 | } |
||
43 |