wiki.techinc.nl/includes/import/UploadRevisionImporter.php
addshore 25fbfd9b9c Factor UploadRevisionImporter & ImportableUploadRevision out of WikiRevision
This is to be used within the FileImporter extension to allow
adding custom loggers to this import process.

Change-Id: I4a6c573fc0a69b06d696cd2afca9226fb492a9bc
2018-02-20 10:26:42 +00:00

18 lines
373 B
PHP

<?php
/**
* @since 1.31
*/
interface UploadRevisionImporter {
/**
* @since 1.31
*
* @param ImportableUploadRevision $importableUploadRevision
*
* @return StatusValue On success, the value member contains the
* archive name, or an empty string if it was a new file.
*/
public function import( ImportableUploadRevision $importableUploadRevision );
}