1 | <?php |
||
23 | class TaskExecutionRepository implements TaskExecutionRepositoryInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var ObjectManager |
||
27 | */ |
||
28 | private $objectManager; |
||
29 | |||
30 | /** |
||
31 | * @var ORMTaskExecutionRepository |
||
32 | */ |
||
33 | private $taskExecutionRepository; |
||
34 | |||
35 | /** |
||
36 | * @param ObjectManager $objectManager |
||
37 | * @param ORMTaskExecutionRepository $taskExecutionRepository |
||
38 | */ |
||
39 | 3 | public function __construct(ObjectManager $objectManager, ORMTaskExecutionRepository $taskExecutionRepository) |
|
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function store(TaskExecutionInterface $execution) |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function save(TaskExecutionInterface $execution) |
||
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | public function findByStartTime(TaskInterface $task, \DateTime $scheduleTime) |
||
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | public function findAll($limit = null) |
||
86 | |||
87 | /** |
||
88 | * {@inheritdoc} |
||
89 | */ |
||
90 | public function findScheduled() |
||
94 | } |
||
95 |