original_string: protected function get_file_record() {
          $file = $this->get_sourcefile();
  
          if (!$file) {
              // If the source file was removed before we completed, we must return early.
              return false;
          }
  
          return [
              'contextid' => \context_system::instance()->id,
              'component' => 'core',
              'filearea'  => 'documentconversion',
              'itemid'    => 0,
              'filepath'  => "/" . $this->get('targetformat') . "/",
              'filename'  => $file->get_contenthash(),
          ];
      }
code: protected function get_file_record() {
          $file = $this->get_sourcefile();
  
          if (!$file) {
              // If the source file was removed before we completed, we must return early.
              return false;
          }
  
          return [
              'contextid' => \context_system::instance()->id,
              'component' => 'core',
              'filearea'  => 'documentconversion',
              'itemid'    => 0,
              'filepath'  => "/" . $this->get('targetformat') . "/",
              'filename'  => $file->get_contenthash(),
          ];
      }
code_tokens: protected function get_file_record ( ) { $ file = $ this -> get_sourcefile ( ) ; if ( ! $ file ) { // If the source file was removed before we completed, we must return early. return false ; } return [ 'contextid' => \ context_system :: instance ( ) -> id , 'component' => 'core' , 'filearea' => 'documentconversion' , 'itemid' => 0 , 'filepath' => "/" . $ this -> get ( 'targetformat' ) . "/" , 'filename' => $ file -> get_contenthash ( ) , ] ; }
docstring: Return the file record base for use in the files table.
  
  @return  array|bool
docstring_tokens: Return the file record base for use in the files table .