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

{include title}

{if $hasElements} {if $annotationClasses}

Classes summary

{include classes, items => $annotationClasses}
{/if} {if $annotationInterfaces}

Interfaces summary

{include classes, items => $annotationInterfaces}
{/if} {if $annotationTraits}

Traits summary

{include classes, items => $annotationTraits}
{/if} {if $annotationExceptions}

Exceptions summary

{include classes, items => $annotationExceptions}
{/if} {if $annotationMethods}

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} {if $annotationConstants}

Constants summary

{if $constant->declaringClassName} {else} {/if}
{$constant->declaringClassName} {$constant->name}{$constant->namespaceName} {$constant->shortName} {foreach $constant->annotations[$annotation] as $description} {if $description} {$description|annotation:$annotation:$constant|noescape}
{/if} {/foreach}
{/if} {if $annotationProperties}

Properties summary

{$property->declaringClassName} ${$property->name} {foreach $property->annotations[$annotation] as $description} {if $description} {$description|annotation:$annotation:$property|noescape}
{/if} {/foreach}
{/if} {if $annotationFunctions}

Functions summary

{$function->namespaceName} {$function->shortName} {foreach $function->annotations[$annotation] as $description} {if $description} {$description|annotation:$annotation:$function|noescape}
{/if} {/foreach}
{/if} {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}