public function Loop($minSize = 1, $maxSize = null)
    {
        list($min, $max) = $this->resolveMinMax($minSize, $maxSize, 10);
        $limit = rand($min, $max);
        $list = ArrayList::create(array());
        $i = 0;
        while ($i < $limit) {
            $list->push(new DataObject());
            $i++;
        }

        return $list;
    }
public function Loop($minSize = 1, $maxSize = null)
    {
        list($min, $max) = $this->resolveMinMax($minSize, $maxSize, 10);
        $limit = rand($min, $max);
        $list = ArrayList::create(array());
        $i = 0;
        while ($i < $limit) {
            $list->push(new DataObject());
            $i++;
        }

        return $list;
    }
public function Loop ( $ minSize = 1 , $ maxSize = null ) { list ( $ min , $ max ) = $ this -> resolveMinMax ( $ minSize , $ maxSize , 10 ) ; $ limit = rand ( $ min , $ max ) ; $ list = ArrayList :: create ( array ( ) ) ; $ i = 0 ; while ( $ i < $ limit ) { $ list -> push ( new DataObject ( ) ) ; $ i ++ ; } return $ list ; }
Build a set of empty DataObjects that can be iterated over
@param integer $min The minumum size of the set
@param integer $max The maximum size of the set
Build a set of empty DataObjects that can be iterated over