{layout '@layout.latte'} {var $active = 'function'} {block title}{if $function->deprecated}Deprecated {/if}Function {$function->name}{/block} {block content}

Function {$function->shortName}

{if $function->valid}
{$function|longDescription|noescape}
{if $function->inNamespace()}Namespace: {$function->namespaceName|namespaceLinks|noescape}
{/if} {if $function->inPackage()}Package: {$function->packageName|packageLinks|noescape}
{/if} {foreach $template->annotationSort($template->annotationFilter($function->annotations, array('param', 'return', 'throws'))) as $annotation => $values} {foreach $values as $value} {$annotation|annotationBeautify}{if $value}:{/if} {$value|annotation:$annotation:$function|noescape}
{/foreach} {/foreach} Located at {$function->fileName|relativePath}
{var $annotations = $function->annotations}
Parameters summary
{$parameter->typeHint|typeLinks:$function|noescape} {block|strip} {if $parameter->passedByReference}& {/if}${$parameter->name}{if $parameter->defaultValueAvailable} = {$parameter->defaultValueDefinition|highlightPHP:$function|noescape}{elseif $parameter->unlimited},…{/if} {/block} {$parameter->description|description:$function}
Return value summary
{$annotations['return'][0]|typeLinks:$function|noescape} {$annotations['return'][0]|description:$function|noescape}
Thrown exceptions summary
{$throws|typeLinks:$function|noescape} {$throws|description:$function|noescape}
{else}

Documentation of this function could not be generated.

Function was originally declared in {$function->fileName|relativePath} and is invalid because of:

{/if}
{/block}