diff options
Diffstat (limited to 'lib/classes/ModuleManagementInterface.php')
| -rw-r--r-- | lib/classes/ModuleManagementInterface.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/classes/ModuleManagementInterface.php b/lib/classes/ModuleManagementInterface.php new file mode 100644 index 0000000..b5594c2 --- /dev/null +++ b/lib/classes/ModuleManagementInterface.php @@ -0,0 +1,14 @@ +<?php +/** + * This interface ensures that all objects of ModuleManagementModel have + * the same constructor signature. Otherwise, we can not guarantee that the + * use of "new static()" in ModuleManagement code will always do the right + * things. + * + * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> + * @license GPL2 or any later version + */ +interface ModuleManagementInterface +{ + public function __construct($id = null); +} |
