original_string: public function set_value($value) {
  
          // Getting the filemanager label from the DOM.
          $fieldlabel = $this->get_field_locator();
  
          // Getting the filepicker context and using the step definition
          // to upload the requested file.
          $uploadcontext = behat_context_helper::get('behat_repository_upload');
          $uploadcontext->i_upload_file_to_filemanager($value, $fieldlabel);
      }
code: public function set_value($value) {
  
          // Getting the filemanager label from the DOM.
          $fieldlabel = $this->get_field_locator();
  
          // Getting the filepicker context and using the step definition
          // to upload the requested file.
          $uploadcontext = behat_context_helper::get('behat_repository_upload');
          $uploadcontext->i_upload_file_to_filemanager($value, $fieldlabel);
      }
code_tokens: public function set_value ( $ value ) { // Getting the filemanager label from the DOM. $ fieldlabel = $ this -> get_field_locator ( ) ; // Getting the filepicker context and using the step definition // to upload the requested file. $ uploadcontext = behat_context_helper :: get ( 'behat_repository_upload' ) ; $ uploadcontext -> i_upload_file_to_filemanager ( $ value , $ fieldlabel ) ; }
docstring: Sets the field value.
  
  @param string $value
  @return void
docstring_tokens: Sets the field value .