DokuSpeichernAction.php
Pfad: src/Infrastructure/Http/DokuSpeichernAction.php
Ext: php
Größe: 755 Bytes
Geändert: 2026-07-16 17:26:37+02
<?php
declare(strict_types=1);
namespace Demo\Infrastructure\Http;
use Demo\Application\Dokumentation\SpeichereInhalt;
/**
* Browserseitige Dokumentationsmutation ist bewusst deaktiviert.
* Versionierte Migrationen und DB-Owner bleiben der einzige Schreibkanal.
*/
final class DokuSpeichernAction
{
public function __construct(SpeichereInhalt $speichere)
{
unset($speichere);
}
/** @param array<string,string> $params */
public function __invoke(array $params): Response
{
unset($params);
return new Response(
403,
'text/plain; charset=utf-8',
"Dokumentationsaenderungen sind im Web deaktiviert.\n",
['Cache-Control' => 'no-store'],
);
}
}
Frühere Versionen
| Version | Zeitpunkt | Operation |
|---|---|---|
| 36 | 2026-07-16 19:55:01.886795+02 | UPDATE |