function __construct($json) { $this->id = $json->id; $this->text = $json->text; $this->signal = Signal::from_pronto($json->code); }
function __construct($json) { $this->id = $json->id; $this->text = $json->text; $this->signal = Signal::from_pronto($json->code); }