ApiGen\Templating\Filters\UrlFilters::description PHP Method

description() public method

public description ( string $annotation, ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $reflectionElement ) : string
$annotation string
$reflectionElement ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface
return string
    public function description($annotation, ElementReflectionInterface $reflectionElement)
    {
        $description = trim(strpbrk($annotation, "\n\r\t \$")) ?: $annotation;
        return $this->doc($description, $reflectionElement);
    }