Render segment names in form using actual segment names

[MAILPOET-2801]
This commit is contained in:
Rostislav Wolny
2020-04-08 16:13:06 +02:00
committed by Veljko V
parent 936a75c277
commit 9701f46a77
4 changed files with 73 additions and 6 deletions

View File

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