> $headers * @return Response */ public static function from(array|string $data, array $headers): self { // @phpstan-ignore-next-line $meta = MetaInformation::from($headers); return new self($data, $meta); } /** * Returns the response data. * * @return TData */ public function data(): array|string { return $this->data; } /** * Returns the meta information. */ public function meta(): MetaInformation { return $this->meta; } }