Refactor CronWorkerRunner to use Doctrine instead of Paris
[MAILPOET-3844]
This commit is contained in:
@ -68,6 +68,12 @@ class ScheduledTaskEntity {
|
||||
*/
|
||||
private $meta;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="boolean", nullable=true)
|
||||
* @var bool|null
|
||||
*/
|
||||
private $inProgress;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="integer", options={"default" : 0})
|
||||
* @var int
|
||||
@ -168,6 +174,20 @@ class ScheduledTaskEntity {
|
||||
$this->meta = $meta;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool|null
|
||||
*/
|
||||
public function getInProgress() {
|
||||
return $this->inProgress;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool|null $inProgress
|
||||
*/
|
||||
public function setInProgress($inProgress) {
|
||||
$this->inProgress = $inProgress;
|
||||
}
|
||||
|
||||
public function getRescheduleCount(): int {
|
||||
return $this->rescheduleCount;
|
||||
}
|
||||
|
Reference in New Issue
Block a user