| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | trait InflectsString |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Convert a string to camel case. |
||
| 17 | * |
||
| 18 | * @param string $string |
||
| 19 | * |
||
| 20 | * @return string |
||
| 21 | */ |
||
| 22 | public function toCamelCase(string $string): string |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Convert a string to capitalized words. |
||
| 33 | * |
||
| 34 | * @param string $string |
||
| 35 | * |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function toWords(string $string): string |
||
| 45 |