superClassField = $superClassFieldValue; } public function getSuperClassField() { return $this->superClassField; } public static function newFromJsonArray( JsonDeserializer $deserializer, array $json ) { return new self( $json['super_class_field'] ); } protected function toJsonArray(): array { return [ 'super_class_field' => $this->getSuperClassField() ]; } }