src/PerrysLambda/Converter/ListConverter.php
public function importInto(ArrayBase $collection)
    {
        if($this->iterator instanceof \Iterator)
        {
            $i = 0;
            foreach($this->iterator as $key => $row)
            {
                if($this->iteratorendindex>=0 && $i>$this->iteratorendindex)
                {
                    break;
                }
                elseif($i>=$this->iteratorstartindex)
                {
                    $tempkey = $key;
                    $tempvalue = $row;

                    /*
                    if($this->isItemConverterExist())
                    {
                        $this->getItemConverter()->deserializeAll($tempvalue, $tempkey);
                    }
                    */

                    if($tempvalue!==null && $tempkey!==null)
                    {
                        $collection->set($tempkey, $tempvalue);//, true);
                    }
                }
                $i++;
            }
        }
    }
public function importInto(ArrayBase $collection)
    {
        if($this->iterator instanceof \Iterator)
        {
            $i = 0;
            foreach($this->iterator as $key => $row)
            {
                if($this->iteratorendindex>=0 && $i>$this->iteratorendindex)
                {
                    break;
                }
                elseif($i>=$this->iteratorstartindex)
                {
                    $tempkey = $key;
                    $tempvalue = $row;

                    /*
                    if($this->isItemConverterExist())
                    {
                        $this->getItemConverter()->deserializeAll($tempvalue, $tempkey);
                    }
                    */

                    if($tempvalue!==null && $tempkey!==null)
                    {
                        $collection->set($tempkey, $tempvalue);//, true);
                    }
                }
                $i++;
            }
        }
    }
public function importInto ( ArrayBase $ collection ) { if ( $ this -> iterator instanceof \ Iterator ) { $ i = 0 ; foreach ( $ this -> iterator as $ key => $ row ) { if ( $ this -> iteratorendindex >= 0 && $ i > $ this -> iteratorendindex ) { break ; } elseif ( $ i >= $ this -> iteratorstartindex ) { $ tempkey = $ key ; $ tempvalue = $ row ; /*
                    if($this->isItemConverterExist())
                    {
                        $this->getItemConverter()->deserializeAll($tempvalue, $tempkey);
                    }
                    */ if ( $ tempvalue !== null && $ tempkey !== null ) { $ collection -> set ( $ tempkey , $ tempvalue ) ; //, true); } } $ i ++ ; } } }
Import into ArrayBase
@param ArrayBase $collection
Import into ArrayBase