Sulu\Bundle\ContentBundle\Markup\LinkTag::getContent PHP Метод

getContent() приватный Метод

Returns content or title of given attributes.
private getContent ( array $attributes ) : string
$attributes array
Результат string
    private function getContent(array $attributes)
    {
        if (array_key_exists('content', $attributes)) {
            return $attributes['content'];
        }
        return $this->getValue($attributes, 'title', '');
    }