Skip to content

Commit f2052c9

Browse files
committed
add the find method to the interface
1 parent d441ec7 commit f2052c9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Illuminate/Bus/BatchRepository.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ interface BatchRepository
1515
*/
1616
public function get($limit, $before);
1717

18+
/**
19+
* Retrieve information about an existing batch.
20+
*
21+
* @param string $batchId
22+
* @return \Illuminate\Bus\Batch|null
23+
*/
24+
public function find(string $batchId);
25+
1826
/**
1927
* Store a new pending batch.
2028
*

0 commit comments

Comments
 (0)