Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | trait CanUseDotPath |
||
13 | { |
||
14 | /** |
||
15 | * Retrieve a value in an array using dot notation |
||
16 | * |
||
17 | * @param string $path |
||
18 | * @param array $array |
||
19 | * |
||
20 | * @return mixed |
||
21 | * @throws \VGirol\JsonApiStructure\Exception\DotPathException |
||
22 | */ |
||
23 | 450 | public function retrieve(string $path, array $array) |
|
37 |