{layout '@layout.latte'} {var $active = 'todo'} {block title}Todo{/block} {block content}

{include title}

{define classes} {foreach $items as $class} {$class->name} {foreach $class->annotations['todo'] as $description} {$description|annotation:'todo':$class|noescape}{sep}
{/sep} {/foreach} {/foreach} {/define} {include classes, items => $todoClasses}
Classes summary
{include classes, items => $todoInterfaces}
Interfaces summary
{include classes, items => $todoTraits}
Traits summary
{include classes, items => $todoExceptions}
Exceptions summary
{foreach $todoMethods as $method} {/foreach}
Methods summary
{$method->declaringClassName} {$method->name}() {foreach $method->annotations['todo'] as $description} {$description|annotation:'todo':$method|noescape}{sep}
{/sep} {/foreach}
{foreach $todoConstants as $constant} {if $constant->declaringClassName} {else} {/if} {/foreach}
Constants summary
{$constant->declaringClassName} {$constant->name}{$constant->namespaceName} {$constant->shortName} {foreach $constant->annotations['todo'] as $description} {$description|annotation:'todo':$constant|noescape}{sep}
{/sep} {/foreach}
{foreach $todoProperties as $property} {/foreach}
Properties summary
{$property->declaringClassName} ${$property->name} {foreach $property->annotations['todo'] as $description} {$description|annotation:'todo':$property|noescape}{sep}
{/sep} {/foreach}
{foreach $todoFunctions as $function} {/foreach}
Functions summary
{$function->namespaceName} {$function->shortName} {foreach $function->annotations['todo'] as $description} {$description|annotation:'todo':$function|noescape}{sep}
{/sep} {/foreach}
{/block}