Add NewsletterTemplateEntity and repository

[MAILPOET-2647]
This commit is contained in:
Jan Jakeš
2020-03-05 15:36:09 +01:00
committed by Veljko V
parent e1f913a6b4
commit a50a23c0e2
2 changed files with 156 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace MailPoet\NewsletterTemplates;
use MailPoet\Doctrine\Repository;
use MailPoet\Entities\NewsletterTemplateEntity;
/**
* @method NewsletterTemplateEntity[] findBy(array $criteria, array $orderBy = null, int $limit = null, int $offset = null)
* @method NewsletterTemplateEntity|null findOneBy(array $criteria, array $orderBy = null)
* @method NewsletterTemplateEntity|null findOneById(mixed $id)
* @method void persist(NewsletterTemplateEntity $entity)
* @method void remove(NewsletterTemplateEntity $entity)
*/
class NewsletterTemplatesRepository extends Repository {
protected function getEntityClassName() {
return NewsletterTemplateEntity::class;
}
}