custom/plugins/BilobaIntlTranslationMoreEntities/src/Components/Messages/SnippetEntityMessage.php line 11

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Biloba\IntlTranslationMoreEntities\Components\Messages;
  3. use Shopware\Core\Framework\Context;
  4. use Biloba\IntlTranslation\Components\Messages\GenericEntityMessage;
  5. class SnippetEntityMessage extends GenericEntityMessage {
  6. private $setId = '';
  7. public function __construct($id,
  8. $targetLanguageId,
  9. $offset = 0,
  10. $translationBulkContext,
  11. $setId,
  12. ?Context $context = null
  13. )
  14. {
  15. parent::__construct($id, $targetLanguageId, $offset, $translationBulkContext, $context);
  16. $this->entityType = 'snippet';
  17. $this->setId = $setId;
  18. }
  19. public function getSetId() {
  20. return $this->setId;
  21. }
  22. }