diff options
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/DescriptionInterpreter.php')
-rw-r--r-- | www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/DescriptionInterpreter.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/DescriptionInterpreter.php b/www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/DescriptionInterpreter.php new file mode 100644 index 00000000..68c87df2 --- /dev/null +++ b/www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/QueryEngine/DescriptionInterpreter.php @@ -0,0 +1,33 @@ +<?php + +namespace SMW\SPARQLStore\QueryEngine; + +use SMW\Query\Language\Description; + +/** + * @license GNU GPL v2+ + * @since 2.2 + * + * @author mwjames + */ +interface DescriptionInterpreter { + + /** + * @since 2.2 + * + * @param Description $description + * + * @return boolean + */ + public function canInterpretDescription( Description $description ); + + /** + * @since 2.2 + * + * @param Description $description + * + * @return Condition + */ + public function interpretDescription( Description $description ); + +} |