{layout '@layout.latte'} {var $active = 'annotation-group-' . $annotation} {block title}{$annotation|firstUpper}{/block} {block content}

{include title}

{if $hasElements} {include classes, items => $annotationClasses}
Classes summary
{include classes, items => $annotationInterfaces}
Interfaces summary
{include classes, items => $annotationTraits}
Traits summary
{include classes, items => $annotationExceptions}
Exceptions summary
Methods summary
{$method->declaringClassName} {$method->name}() {if $method->hasAnnotation($annotation)} {foreach $method->annotations[$annotation] as $description} {if $description} {$description|annotation:$annotation:$method|noescape}
{/if} {/foreach} {/if}
{if $constant->declaringClassName} {else} {/if}
Constants summary
{$constant->declaringClassName} {$constant->name}{$constant->namespaceName} {$constant->shortName} {foreach $constant->annotations[$annotation] as $description} {if $description} {$description|annotation:$annotation:$constant|noescape}
{/if} {/foreach}
Properties summary
{$property->declaringClassName} ${$property->name} {foreach $property->annotations[$annotation] as $description} {if $description} {$description|annotation:$annotation:$property|noescape}
{/if} {/foreach}
Functions summary
{$function->namespaceName} {$function->shortName} {foreach $function->annotations[$annotation] as $description} {if $description} {$description|annotation:$annotation:$function|noescape}
{/if} {/foreach}
{else}

No elements with @{$annotation} annotation found.

{/if}
{/block} {define classes} {$class->name} {foreach $class->annotations[$annotation] as $description} {if $description} {$description|annotation:$annotation:$class|noescape}
{/if} {/foreach} {/define}