Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | trait InflectsString |
||
23 | { |
||
24 | /** |
||
25 | * Convert a string to camel case. |
||
26 | * |
||
27 | * @param string $string |
||
28 | * |
||
29 | * @return string |
||
30 | */ |
||
31 | public function toCamelCase(string $string): string |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Convert a string to capitalized words. |
||
42 | * |
||
43 | * @param string $string |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | public function toWords(string $string): string |
||
54 |