FlatRenderer
final readonly class \
Renders normalized data as one line per value: the shell-quoted path relative to the selection, " = ", and the value as JSON. A selected single value is the value only.
Internal
Table of Contents
Methods
- __construct() : mixed
- render() : array<int, StyledText>
Methods
__construct()
public
__construct(ValueFormatter $formatter) : mixed
Parameters
- $formatter : ValueFormatter
render()
public
render(mixed $data) : array<int, StyledText>
Parameters
- $data : mixed