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
|
#
__construct( mixed $callable, mixed $context = null )
Constructor used to specify the closure for performing the transfer |
public
|
protected
callable
|
$callable |
|
#
A closure that performs the transfer |
protected
mixed
|
$context |
|
#
$context Context passed to the callable |