original_string: public function export_area_files(array $subcontext, $component, $filearea, $itemid) : content_writer {
          $fs = get_file_storage();
          $files = $fs->get_area_files($this->context->id, $component, $filearea, $itemid);
          foreach ($files as $file) {
              $this->export_file($subcontext, $file);
          }
  
          return $this;
      }
code: public function export_area_files(array $subcontext, $component, $filearea, $itemid) : content_writer {
          $fs = get_file_storage();
          $files = $fs->get_area_files($this->context->id, $component, $filearea, $itemid);
          foreach ($files as $file) {
              $this->export_file($subcontext, $file);
          }
  
          return $this;
      }
code_tokens: public function export_area_files ( array $ subcontext , $ component , $ filearea , $ itemid ) : content_writer { $ fs = get_file_storage ( ) ; $ files = $ fs -> get_area_files ( $ this -> context -> id , $ component , $ filearea , $ itemid ) ; foreach ( $ files as $ file ) { $ this -> export_file ( $ subcontext , $ file ) ; } return $ this ; }
docstring: Export all files within the specified component, filearea, itemid combination.
  
  @param   array           $subcontext The location within the current context that this data belongs.
  @param   string          $component  The name of the component that the files belong to.
  @param   string          $filearea   The filearea within that component.
  @param   string          $itemid     Which item those files belong to.
docstring_tokens: Export all files within the specified component filearea itemid combination .