dd(mixed $var, bool|null $showHtml = null): void
Prints out debug information about given variable and dies.
Only runs if debug mode is enabled. It will otherwise just continue code execution and ignore this function.
mixed
$var
Variable to show debug information for.
bool|null
$showHtml
optional
If set to true, the method prints the debug data in a browser-friendly way.
void
debug(mixed $var, bool|null $showHtml = null, bool $showFrom = true): mixed
Prints out debug information about given variable and returns the variable that was passed.
Only runs if debug mode is enabled.
mixed
$var
Variable to show debug information for.
bool|null
$showHtml
optional
If set to true, the method prints the debug data in a browser-friendly way.
bool
$showFrom
optional
If set to true, the method prints from where the function was called.
mixed
stackTrace(array<string, mixed> $options = []): void
Outputs a stack trace based on the supplied options.
depth
- The number of stack frames to return. Defaults to 999args
- Should arguments for functions be shown? If true, the arguments for each method call
will be displayed.start
- The stack frame to start generating a trace from. Defaults to 1array<string, mixed>
$options
optional
Format for outputting stack trace
void
Interface for error logging handlers.
Interface for PHP error rendering implementations
Interface ExceptionRendererInterface
Provide custom logging and error handling.
Log errors and unhandled exceptions to Cake\Log\Log
Entry point to CakePHP's error handling.
Entry point to CakePHP's exception handling.
Represents a fatal error
Object wrapper around PHP errors that are emitted by trigger_error()