Skip to content

Commit 1e33080

Browse files
Added the JobTracker::getExecutionEntry() method
1 parent a5b101c commit 1e33080

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/JobTracker.php

+5
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@ public function hasExecutionEntry(): bool
186186
return null !== $this->model();
187187
}
188188

189+
public function getExecutionEntry(): ?JobExecution
190+
{
191+
return $this->model();
192+
}
193+
189194
protected static function commonFields(TrackableJob $job): array
190195
{
191196
[$via, $scene] = static::sceneResolver()->get();

0 commit comments

Comments
 (0)