| Total Complexity | 6 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class CbStructure |
||
| 6 | { |
||
| 7 | public static function componentsPath($type = '') |
||
| 8 | { |
||
| 9 | $componentPath = implode(DIRECTORY_SEPARATOR, ['vendor', 'crocodicstudio', 'crudbooster', 'src', 'views', 'form', 'type_components', $type]); |
||
| 10 | |||
| 11 | return base_path($componentPath); |
||
| 12 | } |
||
| 13 | |||
| 14 | public static function publishedComponentsPath($type = '') |
||
| 19 | } |
||
| 20 | |||
| 21 | public static function controllersDir() |
||
| 22 | { |
||
| 23 | $_ = DIRECTORY_SEPARATOR; |
||
| 24 | return app_path('Http'.$_.'Controllers'.$_); |
||
| 25 | } |
||
| 26 | |||
| 27 | public static function controllerPath($controller) |
||
| 30 | } |
||
| 31 | |||
| 32 | public static function cbModulesNS($path = '') |
||
| 35 | } |
||
| 36 | |||
| 37 | public static function ctrlNamespace() |
||
| 40 | } |
||
| 41 | } |