public function annotation($value, $name, ElementReflectionInterface $reflectionElement)
{
$annotationProcessors = ['return' => $this->processReturnAnnotations($value, $reflectionElement), 'throws' => $this->processThrowsAnnotations($value, $reflectionElement), 'license' => $this->processLicenseAnnotations($value), 'link' => $this->processLinkAnnotations($value), 'see' => $this->processSeeAnnotations($value, $reflectionElement), 'uses' => $this->processUsesAndUsedbyAnnotations($value, $reflectionElement), 'usedby' => $this->processUsesAndUsedbyAnnotations($value, $reflectionElement)];
if (isset($annotationProcessors[$name])) {
return $annotationProcessors[$name];
}
return $this->doc($value, $reflectionElement);
}