first commit

This commit is contained in:
2024-10-28 22:14:22 +01:00
commit b65352c452
40581 changed files with 5712079 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<?php
/**
* Since 2013 Ovidiu Cimpean.
*
* Ovidiu Cimpean - Newsletter Pro © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at addons4prestashop@gmail.com.
*
* @author Ovidiu Cimpean <addons4prestashop@gmail.com>
* @copyright Since 2013 Ovidiu Cimpean
* @license Do not edit, modify or copy this file
*
* @version Release: 4
*/
class NewsletterProTemplateDecoratorReplacements implements NewsletterPro_Swift_Plugins_TemplateDecorator_Replacement
{
public $template;
public function __construct(NewsletterProTemplate $template)
{
$this->template = $template;
}
public static function newInstance(NewsletterProTemplate $template)
{
return new self($template);
}
public function getTemplate()
{
return $this->template;
}
public function getTemplateFor($email = null)
{
return $this->template->message($email);
}
}