DataMapper/ModelDataMapper.php
protected function mapModelDataToElementCollection(ElementCollection $children)
    {
        foreach ($children->all() as $child) {
            $this->mapModelDataToElement($child);
        }
    }
protected function mapModelDataToElementCollection(ElementCollection $children)
    {
        foreach ($children->all() as $child) {
            $this->mapModelDataToElement($child);
        }
    }
protected function mapModelDataToElementCollection ( ElementCollection $ children ) { foreach ( $ children -> all ( ) as $ child ) { $ this -> mapModelDataToElement ( $ child ) ; } }
Maps data using recursion to all children

@param ElementCollection $children
Maps data using recursion to all children