{layout '@layout.latte'} {var $active = 'tree'} {block title}Tree{/block} {define tree}
'|repeat:$level - $tree->getDepth()|noescape} {elseif -1 !== $level} '|repeat:$level|noescape}
{/define} {block content}

{include title}

{if $classTree->valid()}

Classes

{include tree, tree => $classTree} {/if} {if $interfaceTree->valid()}

Interfaces

{include tree, tree => $interfaceTree} {/if} {if $traitTree->valid()}

Traits

{include tree, tree => $traitTree} {/if} {if $exceptionTree->valid()}

Exceptions

{include tree, tree => $exceptionTree} {/if}
{/block}