(callable $callback)
| 65 | } |
| 66 | |
| 67 | function captureControllerOutput(callable $callback): string |
| 68 | { |
| 69 | ob_start(); |
| 70 | $callback(); |
| 71 | return (string)ob_get_clean(); |
| 72 | } |
| 73 | |
| 74 | if (!function_exists('getallheaders')) { |
| 75 | function getallheaders(): array |
no outgoing calls
no test coverage detected