diff options
Diffstat (limited to 'www/wiki/extensions/Bootstrap/src/Definition/ModuleDefinition.php')
-rw-r--r-- | www/wiki/extensions/Bootstrap/src/Definition/ModuleDefinition.php | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/www/wiki/extensions/Bootstrap/src/Definition/ModuleDefinition.php b/www/wiki/extensions/Bootstrap/src/Definition/ModuleDefinition.php new file mode 100644 index 00000000..a40dd7f5 --- /dev/null +++ b/www/wiki/extensions/Bootstrap/src/Definition/ModuleDefinition.php @@ -0,0 +1,43 @@ +<?php + +namespace Bootstrap\Definition; + +/** + * @copyright (C) 2013, Stephan Gambke + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3 (or later) + * + * This file is part of the MediaWiki extension Bootstrap. + * The Bootstrap extension is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * The Bootstrap extension is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + * @file + * @ingroup Bootstrap + */ + +/** + * Interface describing module definitions + */ +interface ModuleDefinition { + + /** + * Returns a definition array + * + * @since 1.0 + * + * @param string $key + * + * @return array + */ + public function get( $key ); + +} |