original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Save an array of new models and attach them to the parent model.
  
  @param  array  $models
  @param  array  $joinings
  @return array
docstring_tokens: Save an array of new models and attach them to the parent model .