public function fromArray(array $data) { $this->package = isset($data['package']) ? $data['package'] : []; return parent::fromArray($data); }