data = $data; } public function __toString(): string { $result = parent::__toString(); if (null !== $this->data) { $result .= $this->data; } return $result; } /** * @return int[] */ abstract public static function supportedAdditionalInformation(): array; abstract public static function createFromLoadedData(int $additionalInformation, ?string $data): self; }