Skip to content

Commit a134beb

Browse files
added find-by-uuid to task-repository (#25)
1 parent 0f4d98b commit a134beb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Entity/TaskRepository.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ public function create($handlerClass, $workload = null)
2828
return new Task($handlerClass, $workload);
2929
}
3030

31+
/**
32+
* {@inheritdoc}
33+
*/
34+
public function findByUuid($uuid)
35+
{
36+
return $this->find($uuid);
37+
}
38+
3139
/**
3240
* {@inheritdoc}
3341
*/

0 commit comments

Comments
 (0)