Class BatchClosureTransfer
Batch transfer strategy where transfer logic can be defined via a Closure.
This class is to be used with Guzzle\Batch\BatchInterface
- Guzzle\Batch\BatchClosureTransfer implements Guzzle\Batch\BatchTransferInterface
public
|
|
public
|
protected
callable
|
$callable
A closure that performs the transfer |
|
protected
mixed
|
$context
$context Context passed to the callable |