From a84232811dadccf7047424f27340a7f9847bedff Mon Sep 17 00:00:00 2001 From: winter Date: Sat, 7 Dec 2024 21:44:42 +0000 Subject: many many changes but actors are loaded from db now --- WpfTest/HttpResponseStatus/NotFound.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 WpfTest/HttpResponseStatus/NotFound.php (limited to 'WpfTest/HttpResponseStatus/NotFound.php') diff --git a/WpfTest/HttpResponseStatus/NotFound.php b/WpfTest/HttpResponseStatus/NotFound.php new file mode 100644 index 0000000..b36d0a3 --- /dev/null +++ b/WpfTest/HttpResponseStatus/NotFound.php @@ -0,0 +1,18 @@ +message = $reason ?? 'Request was handled but no appropriate resource found'; + } + + public function httpCode(): int { + return 404; + } + + public function httpReason(): string { + return "Not Found"; + } +} \ No newline at end of file -- cgit v1.3