Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class NameResolver |
||
8 | { |
||
9 | /** |
||
10 | * Get the app namespace from the container. |
||
11 | * |
||
12 | * @return string |
||
13 | */ |
||
14 | public static function getAppNamespace() |
||
15 | { |
||
16 | return Container::getInstance()->getNamespace(); |
||
|
|||
17 | } |
||
18 | |||
19 | /** |
||
20 | * Make config file name for resource. |
||
21 | * |
||
22 | * @param string $resourceName |
||
23 | * |
||
24 | * @return string |
||
25 | */ |
||
26 | public static function makeConfigFileName($resourceName) |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Make rules file name. |
||
35 | * |
||
36 | * @return string |
||
37 | */ |
||
38 | public static function makeRulesFileName() |
||
43 | } |
||
44 | } |
||
45 |