original_string: protected function hydrateFiles(array $value)
      {
          if (empty($value)) {
              return [[$this->column => $this->getRules()], []];
          }
  
          $rules = $input = [];
  
          foreach ($value as $key => $file) {
              $rules[$this->column.$key] = $this->getRules();
              $input[$this->column.$key] = $file;
          }
  
          return [$rules, $input];
      }
code: protected function hydrateFiles(array $value)
      {
          if (empty($value)) {
              return [[$this->column => $this->getRules()], []];
          }
  
          $rules = $input = [];
  
          foreach ($value as $key => $file) {
              $rules[$this->column.$key] = $this->getRules();
              $input[$this->column.$key] = $file;
          }
  
          return [$rules, $input];
      }
code_tokens: protected function hydrateFiles ( array $ value ) { if ( empty ( $ value ) ) { return [ [ $ this -> column => $ this -> getRules ( ) ] , [ ] ] ; } $ rules = $ input = [ ] ; foreach ( $ value as $ key => $ file ) { $ rules [ $ this -> column . $ key ] = $ this -> getRules ( ) ; $ input [ $ this -> column . $ key ] = $ file ; } return [ $ rules , $ input ] ; }
docstring: Hydrate the files array.
  
  @param array $value
  
  @return array
docstring_tokens: Hydrate the files array .