The render targets a {@see \Milpa\Live\Contracts\Rendering\ComponentRendererInterface}
may declare support for. JSON and PLAIN were removed because nothing in
the lab implements them. ANSI is a declared exception to "proven": it
is kept as a forward-looking target for TUI-adjacent renderers, but no
renderer in the lab implements it yet — `supportsTarget(ANSI)` is
`false` everywhere today. Re-add JSON/PLAIN, or wire a real ANSI
renderer, only once something in the lab actually needs one.
RenderTarget::cases()
public static functioncases():array
RenderTarget::from()
public static functionfrom(string|int$value): static
Parameters
Parameters of from()
Name
Type
Description
$value
string|int
RenderTarget::tryFrom()
public static functiontryFrom(string|int$value): ?static