TreeLayout implements Layout
Read onlyYes
FinalYes
Interfaces
Methods
- branches() : array<int, RenderedNode, string, string}>
- Each child of $entry with the connector drawn before its line and the indent drawn before its children's lines.
- lines() : array<int, string>
- render() : string
Methods
branches()
Each child of $entry with the connector drawn before its line and the indent drawn before its children's lines.
public
branches(RenderedNode $entry, string $indent) : array<int, RenderedNode, string, string}>
Parameters
- $entry : RenderedNode
- $indent : string
Return values
array<int, RenderedNode, string, string}>lines()
public
lines(RenderedNode $entry, string $connector, string $indent) : array<int, string>
Parameters
- $entry : RenderedNode
- $connector : string
-
drawn before this entry's line
- $indent : string
-
drawn before every line under this entry
Return values
array<int, string>render()
public
render(RenderedNode $root) : string
Parameters
- $root : RenderedNode