30 public function __call($method, array $args)
32 return call_user_func_array(array($this->decoratedBatch, $method), $args);
35 public function add($item)
37 $this->decoratedBatch->add($item);
42 public function flush()
44 return $this->decoratedBatch->flush();
49 return $this->decoratedBatch->isEmpty();
59 $found = array($this);
60 if (method_exists($this->decoratedBatch,
'getDecorators')) {
61 $found = array_merge($found, $this->decoratedBatch->getDecorators());