original_string: public function attachFiles($id, $table, $files)
      {
          foreach ($files as $file) {
              if (!empty($file)) {
                  $this->attachFile($id, $table, $file);
              }
          }
      }
code: public function attachFiles($id, $table, $files)
      {
          foreach ($files as $file) {
              if (!empty($file)) {
                  $this->attachFile($id, $table, $file);
              }
          }
      }
code_tokens: public function attachFiles ( $ id , $ table , $ files ) { foreach ( $ files as $ file ) { if ( ! empty ( $ file ) ) { $ this -> attachFile ( $ id , $ table , $ file ) ; } } }
docstring: It will attach the array of files to the entity.
  
  @param $id
  @param $table
  @param $files
docstring_tokens: It will attach the array of files to the entity .