| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class ThemeHelper |
||
| 10 | { |
||
| 11 | protected static $theme = 'bootstrap3'; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param null $new |
||
|
|
|||
| 15 | * @return string|void |
||
| 16 | */ |
||
| 17 | public static function theme($new = null) |
||
| 18 | { |
||
| 19 | if ($new !== null) { |
||
| 20 | return static::setTheme($new); |
||
| 21 | } |
||
| 22 | return static::$theme; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $new |
||
| 27 | */ |
||
| 28 | protected static function setTheme($new) |
||
| 31 | } |
||
| 32 | } |