| 1 | <?php namespace BuildR\ClassLoader; |
||
| 19 | class ModuleLoader { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Runs the given class loader module pre-loading (load dependencies) and |
||
| 23 | * perform an initial check on module (Interface implementation). |
||
| 24 | * If this success return a new instance from the module, otherwise |
||
| 25 | * a ModuleException will be thrown. |
||
| 26 | * |
||
| 27 | * @param string $moduleClassName |
||
| 28 | * |
||
| 29 | * @return \BuildR\ClassLoader\Modules\ClassLoaderModuleInterface |
||
| 30 | * |
||
| 31 | * @throws \BuildR\ClassLoader\Exception\ModuleException |
||
| 32 | */ |
||
| 33 | 36 | public function preLoad($moduleClassName) { |
|
| 44 | |||
| 45 | } |
||
| 46 |