HttpResponse.php
Pfad: src/Infrastructure/Rechnung/HttpResponse.php
Ext: php
Größe: 396 Bytes
Geändert: 2026-07-16 17:10:12+02
<?php
declare(strict_types=1);
namespace Demo\Infrastructure\Rechnung;
/**
* Kleine typisierte HTTP-Antwort fuer den Portaladapter.
*/
final class HttpResponse
{
/** Bindet Status, Body und relevante Header. */
public function __construct(public readonly int $status, public readonly string $body, public readonly string $contentType, public readonly ?string $location)
{
}
}