| Total Complexity | 5 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 9 | class PathHelper |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param null $path |
||
|
|
|||
| 13 | * @return string |
||
| 14 | */ |
||
| 15 | public static function keys($path = null) |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param $path |
||
| 25 | * @param $theme |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | public static function views($path, $theme = null) |
||
| 29 | { |
||
| 30 | return static::viewsTheme($theme) . $path; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param $theme |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public static function viewsTheme($theme = null) |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | public static function viewsBase() |
||
| 49 | } |
||
| 50 | } |
||
| 51 |