We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a45cae8 commit 963f20aCopy full SHA for 963f20a
src/Entity/TaskExecutionRepository.php
@@ -89,6 +89,22 @@ public function findPending(TaskInterface $task)
89
}
90
91
92
+ /**
93
+ * {@inheritdoc}
94
+ */
95
+ public function findByUuid($uuid)
96
+ {
97
+ try {
98
+ return $this->createQueryBuilder('e')
99
+ ->where('e.uuid = :uuid')
100
+ ->setParameter('uuid', $uuid)
101
+ ->getQuery()
102
+ ->getSingleResult();
103
+ } catch (NoResultException $e) {
104
+ return;
105
+ }
106
107
+
108
/**
109
* {@inheritdoc}
110
*/
0 commit comments