1 | <?php |
||
11 | class CodeTable extends LazyResource |
||
12 | { |
||
13 | /** @var string */ |
||
14 | public $code; |
||
15 | |||
16 | /** |
||
17 | * CodeTable constructor. |
||
18 | * |
||
19 | * @param Client $client |
||
20 | * @param string $code |
||
21 | */ |
||
22 | public function __construct(Client $client, $code) |
||
27 | |||
28 | /** |
||
29 | * Check if we have the full representation of our data object. |
||
30 | * |
||
31 | * @param \stdClass $data |
||
32 | * |
||
33 | * @return bool |
||
34 | */ |
||
35 | protected function isInitialized($data) |
||
39 | |||
40 | /** |
||
41 | * Generate the base URL for this resource. |
||
42 | * |
||
43 | * @return string |
||
44 | */ |
||
45 | protected function urlBase() |
||
49 | } |
||
50 |