Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | public static function variableName($str) |
||
39 | { |
||
40 | if (! isset(static::$cache['variableName'][$str])) { |
||
41 | $class = static::className($str); |
||
42 | |||
43 | static::$cache['variableName'][$str] = strtolower(substr($class, 0, 1)) . substr($class, 1); |
||
44 | } |
||
45 | |||
46 | return static::$cache['variableName'][$str]; |
||
47 | } |
||
62 |