| Total Complexity | 7 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class ParameterManipulations |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * ParameterManipulations constructor. |
||
| 12 | * |
||
| 13 | * @param array $params |
||
| 14 | * |
||
| 15 | * @throws \ReflectionException |
||
| 16 | */ |
||
| 17 | 37 | public function __construct(array $params) |
|
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param $input |
||
| 24 | * @param string $glue |
||
| 25 | * |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | 50 | protected function fromCamelCase($input, $glue = '_') |
|
| 36 | } |
||
| 37 | |||
| 38 | 45 | public function fillWithSnakeParams(array $params, $glue = '_') |
|
| 50 |