1 | <?php |
||
11 | class TaskExecutionRepository implements TaskExecutionRepositoryInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var ObjectManager |
||
15 | */ |
||
16 | private $objectManager; |
||
17 | |||
18 | /** |
||
19 | * @var ORMTaskExecutionRepository |
||
20 | */ |
||
21 | private $taskExecutionRepository; |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function save(TaskExecutionInterface $execution) |
||
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | public function add(TaskExecutionInterface $execution) |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function findScheduled() |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function findByStartTime(TaskInterface $task, \DateTime $scheduleTime) |
||
55 | } |
||
56 |