diff options
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/src/PropertyAnnotator.php')
-rw-r--r-- | www/wiki/extensions/SemanticMediaWiki/src/PropertyAnnotator.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/src/PropertyAnnotator.php b/www/wiki/extensions/SemanticMediaWiki/src/PropertyAnnotator.php new file mode 100644 index 00000000..045f8959 --- /dev/null +++ b/www/wiki/extensions/SemanticMediaWiki/src/PropertyAnnotator.php @@ -0,0 +1,35 @@ +<?php + +namespace SMW; + +/** + * Interface specifying available methods to interact with the Decorator + * + * @ingroup SMW + * + * @license GNU GPL v2+ + * @since 1.9 + * + * @author mwjames + */ +interface PropertyAnnotator { + + /** + * Returns a SemanticData container + * + * @since 1.9 + * + * @return SemanticData + */ + public function getSemanticData(); + + /** + * Add annotations to the SemanticData container + * + * @since 1.9 + * + * @return PropertyAnnotator + */ + public function addAnnotation(); + +} |