Property | Type | Description | |
---|---|---|---|
$plugin | Elcodi\Component\Plugin\Entity\Plugin | Plugin | |
$translator | Symfony\Component\Translation\TranslatorInterface | A translator | |
$urlGenerator | Symfony\Component\Routing\Generator\UrlGeneratorInterface | An url generator |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, Symfony\Component\Translation\TranslatorInterface $translator ) | Builds a new share tweet renderer class. | |
renderShareOrder ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) | Renders the share product button. | |
renderShareProduct ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) | Renders the share product button. | |
setPlugin ( Elcodi\Component\Plugin\Entity\Plugin $plugin ) | Set plugin |
public __construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, Symfony\Component\Translation\TranslatorInterface $translator ) | ||
$urlGenerator | Symfony\Component\Routing\Generator\UrlGeneratorInterface | An url generator |
$translator | Symfony\Component\Translation\TranslatorInterface | A translator |
public setPlugin ( Elcodi\Component\Plugin\Entity\Plugin $plugin ) | ||
$plugin | Elcodi\Component\Plugin\Entity\Plugin | Plugin |
protected Plugin,Elcodi\Component\Plugin\Entity $plugin | ||
return | Elcodi\Component\Plugin\Entity\Plugin |
protected TranslatorInterface,Symfony\Component\Translation $translator | ||
return | Symfony\Component\Translation\TranslatorInterface |