Метод | Описание | |
---|---|---|
createBatches ( mixed $data ) : array | Traversable | Creates an iterator for the supplied data. | |
createRunner ( mixed $batch, callable $callback ) : callable | Creates a batch runner for the supplied list. |
public createBatches ( mixed $data ) : array | Traversable | ||
$data | mixed | The raw batch data |
Результат | array | Traversable | An iterator of batches |