Interface: DumpRenderer
Full name: Clarity\Debug\DumpRenderer
Renders a value as debug output.
Implementations may have side effects: the CLI renderer writes to STDERR. render() returns the string to insert into the template output, or '' when the output was written directly to STDERR.
Public methods
render() ·
public function render(mixed $value, Clarity\Debug\DumpOptions $opts): string
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$value |
mixed | - | |
$opts |
DumpOptions | - |
Return value
- Type:
string