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