16 $this->collection[$index] = $item;
19 public function toArray()
22 if(count($this->collection)>0)
27 foreach ($this->collection as $index=>$item)
29 $result[$index] = $item->getCmd()->build();
35 public function toArrayRaw()
38 if(count($this->collection)>0)
43 foreach ($this->collection as $index=>$item)
45 $result[$index] = $item->getCmd()->getFieldsValues();