Skip to content

Commit 4c19769

Browse files
authored
Merge pull request #51 from mirko-bukilic/master
Added method for deleting processed tasks
2 parents c04d59d + ce80b07 commit 4c19769

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/Model/Repository/TaskRepositoryInterface.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,11 @@ public function findWaitingForRetry();
3232
public function add(Task $task);
3333
public function update(Task $task);
3434
public function updateStatus($status, Task ...$tasks);
35+
36+
/**
37+
* @param int $olderThan
38+
* @param int $limit
39+
* @return void
40+
*/
41+
public function deleteProcessedTasks($olderThan, $limit);
3542
}

0 commit comments

Comments
 (0)