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

doc() public method

public doc ( string $text, ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $reflectionElement, boolean $block = false ) : string
$text string
$reflectionElement ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface
$block boolean
return string
    public function doc($text, ElementReflectionInterface $reflectionElement, $block = false)
    {
        $text = $this->resolveInternalAnnotation($text);
        // Process markup
        if ($block) {
            $text = $this->markup->block($text);
        } else {
            $text = $this->markup->line($text);
        }
        return $this->resolveLinkAndSeeAnnotation($text, $reflectionElement);
    }