Refactor to doctrine

[MAILPOET-2335] [MAILPOET-2334]
This commit is contained in:
Pavel Dohnal
2020-10-21 10:42:16 +02:00
committed by Veljko V
parent f8bd946dc0
commit 78118b07e8
7 changed files with 88 additions and 41 deletions

View File

@ -63,6 +63,11 @@ class ScheduledTaskEntity {
*/
private $meta;
/**
* @ORM\OneToMany(targetEntity="MailPoet\Entities\ScheduledTaskSubscriberEntity", mappedBy="task", fetch="EXTRA_LAZY")
*/
public $subscribers;
/**
* @return string|null
*/