| Total Complexity | 6 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Api |
||
| 8 | { |
||
| 9 | public static function registerComponent($componentName, $componentPath = null) |
||
| 10 | { |
||
| 11 | $componentManager = ComponentManager::getInstance(); |
||
| 12 | $componentManager->registerComponent($componentName, $componentPath); |
||
| 13 | } |
||
| 14 | |||
| 15 | public static function registerComponentsFromPath($componentBasePath) |
||
| 20 | } |
||
| 21 | } |
||
| 22 | |||
| 23 | public static function renderComponent($componentName, $data) |
||
| 38 | } |
||
| 39 | |||
| 40 | public static function registerHooks() |
||
| 60 |