Completed
Push — componentlibrary_featureless ( f542c2...921b57 )
by Dominik
01:42
created
lib/api.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -14,12 +14,18 @@
 block discarded – undo
14 14
         Defaults::init();
15 15
     }
16 16
 
17
+    /**
18
+     * @param string $componentName
19
+     */
17 20
     public static function registerComponent($componentName, $componentPath = null)
18 21
     {
19 22
         $componentManager = ComponentManager::getInstance();
20 23
         $componentManager->registerComponent($componentName, $componentPath);
21 24
     }
22 25
 
26
+    /**
27
+     * @param string $componentBasePath
28
+     */
23 29
     public static function registerComponentsFromPath($componentBasePath)
24 30
     {
25 31
         foreach (glob("{$componentBasePath}/*", GLOB_ONLYDIR) as $componentPath) {
Please login to merge, or discard this patch.