Set newsletter segment data using Doctrine

[MAILPOET-2900]
This commit is contained in:
Jan Jakeš
2020-05-11 17:27:01 +02:00
committed by Veljko V
parent 2c784ee036
commit 0e5e95310f
6 changed files with 73 additions and 25 deletions

View File

@@ -0,0 +1,15 @@
<?php
namespace MailPoet\Newsletter\Segment;
use MailPoet\Doctrine\Repository;
use MailPoet\Entities\NewsletterSegmentEntity;
/**
* @extends Repository<NewsletterSegmentEntity>
*/
class NewsletterSegmentRepository extends Repository {
protected function getEntityClassName() {
return NewsletterSegmentEntity::class;
}
}