From e1ad307b531c27ec6bfaf8b4d018991b0d4a78f3 Mon Sep 17 00:00:00 2001 From: winter Date: Fri, 6 Dec 2024 20:43:26 +0000 Subject: initial commit hardcoded functionality mostly! --- WpfTest/HttpReturnStatus/NoHandlerFound.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 WpfTest/HttpReturnStatus/NoHandlerFound.php (limited to 'WpfTest/HttpReturnStatus/NoHandlerFound.php') diff --git a/WpfTest/HttpReturnStatus/NoHandlerFound.php b/WpfTest/HttpReturnStatus/NoHandlerFound.php new file mode 100644 index 0000000..d914ca2 --- /dev/null +++ b/WpfTest/HttpReturnStatus/NoHandlerFound.php @@ -0,0 +1,18 @@ +message = "No handler found for path $path"; + } + + public function httpCode(): int { + return 404; + } + + public function httpReason(): string { + return "Not Found"; + } +} \ No newline at end of file -- cgit v1.3