Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | public function __construct($json) |
||
42 | { |
||
43 | parent::__construct($json); |
||
44 | |||
45 | $this->value = new Unit($json->data->no2->value, "g/m³", "", $json->data->no2->precision); |
||
46 | $this->valueStratosphere = new Unit($json->data->no2_strat->value, "g/m³", "", $json->data->no2_strat->precision); |
||
47 | $this->valueTroposphere = new Unit($json->data->no2_trop->value, "g/m³", "", $json->data->no2_trop->precision); |
||
48 | } |
||
49 | } |
||
50 |