\n" . "
\n" . "The requested method " . $_SERVER['REQUEST_METHOD'] . " is not allowed for this resource.
\n" . self::serverSignature()); } } protected static function page404(): string { header($_SERVER['SERVER_PROTOCOL'] . ' 404 Not Found', true, 404); die("\n" . "\n" . "The requested URL was not found on this server.
\n" . self::serverSignature()); } public static function redirect(string $location) { header($_SERVER['SERVER_PROTOCOL'] . ' 302 Found', true, 302); header('Location: ' . $location, true); die("\n" . "\n" . "The document has moved here.
\n" . self::serverSignature()); } private static function serverSignature(): string { return "