original_string: public function createMany(array $records, array $joinings = [])
      {
          $instances = [];
  
          foreach ($records as $key => $record) {
              $instances[] = $this->create($record, (array) ($joinings[$key] ?? []), false);
          }
  
          $this->touchIfTouching();
  
          return $instances;
      }
code: public function createMany(array $records, array $joinings = [])
      {
          $instances = [];
  
          foreach ($records as $key => $record) {
              $instances[] = $this->create($record, (array) ($joinings[$key] ?? []), false);
          }
  
          $this->touchIfTouching();
  
          return $instances;
      }
code_tokens: public function createMany ( array $ records , array $ joinings = [ ] ) { $ instances = [ ] ; foreach ( $ records as $ key => $ record ) { $ instances [ ] = $ this -> create ( $ record , ( array ) ( $ joinings [ $ key ] ?? [ ] ) , false ) ; } $ this -> touchIfTouching ( ) ; return $ instances ; }
docstring: Create an array of new instances of the related models.
  
  @param  array  $records
  @param  array  $joinings
  @return array
docstring_tokens: Create an array of new instances of the related models .