Adds a batch operation.
callable $callback: The name of the callback function.
array $arguments: An array of arguments to pass to the callback function.
$this
public function addOperation(callable $callback, array $arguments = []) { $this->operations[] = [ $callback, $arguments, ]; return $this; }