You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NewsletterFactory.php 441B

3 vuotta sitten
2 vuotta sitten
3 vuotta sitten
3 vuotta sitten
2 vuotta sitten
3 vuotta sitten
12345678910111213141516171819
  1. <?php
  2. namespace Lc\SovBundle\Factory\Newsletter;
  3. use Lc\SovBundle\Container\Newsletter\NewsletterContainer;
  4. use Lc\SovBundle\Factory\AbstractFactory;
  5. use Lc\SovBundle\Model\Newsletter\NewsletterInterface;
  6. class NewsletterFactory extends AbstractFactory
  7. {
  8. public function create(): NewsletterInterface
  9. {
  10. $class = NewsletterContainer::getEntityFqcn();
  11. $newsletter = new $class;
  12. return $newsletter;
  13. }
  14. }