Interface for PHP error rendering implementations
The core provided implementations of this interface are used by Debugger and ErrorTrap to render PHP errors.
Render output for the provided error.
Write output to the renderer's output stream
render(Cake\Error\PhpError $error, bool $debug): string
Render output for the provided error.
Cake\Error\PhpError
$error The error to be rendered.
bool
$debug Whether or not the application is in debug mode.
string
write(string $out): void
Write output to the renderer's output stream
string
$out The content to output.
void
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/interface-Cake.Error.ErrorRendererInterface.html