debug¶
inline notation and custom title:
{object -> f:debug(title: 'Custom title')}
Output:
all properties of {object} nicely highlighted (with custom title)
only output the type:
{object -> f:debug(typeOnly: true)}
Output:
the type or class name of {object}
Note: This view helper is only meant to be used during development
Arguments¶
typeOnly¶
- DataType
- boolean
- Required
- true
- Description
- If TRUE, debugs only the type of variables
levels¶
- DataType
- integer
- Default
- 5
- Required
- true
- Description
- Levels to render when rendering nested objects/arrays
html¶
- DataType
- boolean
- Required
- true
- Description
- Render HTML. If FALSE, output is indented plaintext