Skip to content

Commit

Permalink
Add class comment to CallbackReader
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-eugone committed Mar 11, 2024
1 parent d73b4e7 commit 2c93939
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/batch/src/Job/Item/Reader/CallbackReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@

use Yokai\Batch\Job\Item\ItemReaderInterface;

/**
* An {@see ItemReaderInterface} that read from a {@see Closure} provided at construction.
*
* Provided {@see Closure} must accept no argument and must return an iterable of read items.
*/
final class CallbackReader implements ItemReaderInterface
{
public function __construct(
Expand Down

0 comments on commit 2c93939

Please sign in to comment.