GoogleRichSnippetsExtension
class GoogleRichSnippetsExtension extends Twig_Extension
Class GoogleRichSnippetsExtension is injected as twig.extension.alligator.google_rich_snippets service. GoogleRichSnippetsExtension handles the logic and provides necessary data for managed entity in twig.
Properties
| protected GoogleRichSnippetsManager | $manager |
Methods
getFunctions()
{@inheritdoc}
mixed
getReviewTotalForProduct(mixed $product)
No description
string
getName()
Returns the name of the extension.
Details
at line 28
__construct(GoogleRichSnippetsManager $manager)
at line 36
getFunctions()
{@inheritdoc}
at line 48
mixed
getReviewTotalForProduct(mixed $product)
at line 58
string
getName()
Returns the name of the extension.