src/Entity/Decorator/JsonLdProvider.php
private function getDescription(TemplateValuesInterface $values)
    {
        $description=sprintf(
            "<p>%s</p>".
            "<h1>%s</h1>".
            "<h3>Requirements</h3><p>%s</p>".
            "<h3>Qualifications</h3><p>%s</p>".
            "<h3>Benefits</h3><p>%s</p>",
            $values->getDescription(),
            $values->getTitle(),
            $values->getRequirements(),
            $values->getQualifications(),
            $values->getBenefits()
        );
        return $description;
    }
private function getDescription(TemplateValuesInterface $values)
    {
        $description=sprintf(
            "<p>%s</p>".
            "<h1>%s</h1>".
            "<h3>Requirements</h3><p>%s</p>".
            "<h3>Qualifications</h3><p>%s</p>".
            "<h3>Benefits</h3><p>%s</p>",
            $values->getDescription(),
            $values->getTitle(),
            $values->getRequirements(),
            $values->getQualifications(),
            $values->getBenefits()
        );
        return $description;
    }
private function getDescription ( TemplateValuesInterface $ values ) { $ description = sprintf ( "<p>%s</p>" . "<h1>%s</h1>" . "<h3>Requirements</h3><p>%s</p>" . "<h3>Qualifications</h3><p>%s</p>" . "<h3>Benefits</h3><p>%s</p>" , $ values -> getDescription ( ) , $ values -> getTitle ( ) , $ values -> getRequirements ( ) , $ values -> getQualifications ( ) , $ values -> getBenefits ( ) ) ; return $ description ; }
Generates a description from template values

@param TemplateValuesInterface $values

@return string
Generates a description from template values