$callable
$callable : callable
Batch transfer strategy where transfer logic can be defined via a Closure.
This class is to be used with \Guzzle\Batch\Guzzle\Batch\BatchInterface
__construct(mixed $callable, mixed $context = null)
mixed | $callable | Callable that performs the transfer. This function should accept two arguments: (array $batch, mixed $context). |
mixed | $context | Optional context to pass to the batch divisor |