ApiGen\Templating\Filters\UrlFilters::highlightPhp PHP Метод

highlightPhp() публичный метод

public highlightPhp ( string $source, ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $reflectionElement ) : string
$source string
$reflectionElement ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface
Результат string
    public function highlightPhp($source, ElementReflectionInterface $reflectionElement)
    {
        return $this->resolveLink($this->getTypeName($source), $reflectionElement) ?: $this->highlighter->highlight((string) $source);
    }