public function saveMany(array $models, array $joinings = array())
    {
        foreach ($models as $key => $model) {
            $this->save($model, (array) array_get($joinings, $key), false);
        }

        $this->touchIfTouching();

        return $models;
    }
public function saveMany(array $models, array $joinings = array())
    {
        foreach ($models as $key => $model) {
            $this->save($model, (array) array_get($joinings, $key), false);
        }

        $this->touchIfTouching();

        return $models;
    }
public function saveMany ( array $ models , array $ joinings = array ( ) ) { foreach ( $ models as $ key => $ model ) { $ this -> save ( $ model , ( array ) array_get ( $ joinings , $ key ) , false ) ; } $ this -> touchIfTouching ( ) ; return $ models ; }
Save an array of new models and attach them to the parent model.

@param  array  $models
@param  array  $joinings
@return array
Save an array of new models and attach them to the parent model .