diff options
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/src/Importer/ContentCreator.php')
-rw-r--r-- | www/wiki/extensions/SemanticMediaWiki/src/Importer/ContentCreator.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/src/Importer/ContentCreator.php b/www/wiki/extensions/SemanticMediaWiki/src/Importer/ContentCreator.php new file mode 100644 index 00000000..5c910bd4 --- /dev/null +++ b/www/wiki/extensions/SemanticMediaWiki/src/Importer/ContentCreator.php @@ -0,0 +1,31 @@ +<?php + +namespace SMW\Importer; + +use Onoi\MessageReporter\MessageReporterAware; + +/** + * @license GNU GPL v2+ + * @since 3.0 + * + * @author mwjames + */ +interface ContentCreator extends MessageReporterAware { + + /** + * @since 3.0 + * + * @param ImportContents $importContents + * + * @return boolean + */ + public function canCreateContentsFor( ImportContents $importContents ); + + /** + * @since 3.0 + * + * @param ImportContents $importContents + */ + public function create( ImportContents $importContents ); + +} |