MCPcopy Create free account
hub / github.com/error311/FileRise / out

Method out

src/FileRise/Http/Controllers/MediaController.php:36–40  ·  view source on GitHub ↗
($payload, int $status = 200)

Source from the content-addressed store, hash-verified

34 restore_error_handler();
35 }
36 private function out($payload, int $status = 200): void
37 {
38 http_response_code($status);
39 echo json_encode($payload, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
40 }
41 private function readJson(): array
42 {
43 $raw = file_get_contents('php://input');

Callers 7

requireAuthMethod · 0.95
checkCsrfMethod · 0.95
updateProgressMethod · 0.95
getProgressMethod · 0.95
getViewedMapMethod · 0.95
initZoomUIFunction · 0.80
buildZoomControlsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected