public function __construct($data) { $this->sobject = json_decode($data['raw_body']); parent::__construct($data); }
public function __construct($data) { parent::__construct($data); $this->records = json_decode($data['raw_body'], true); $this->totalSize = count($this->records); }