Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | class PointerUtil |
||
8 | { |
||
9 | /** |
||
10 | * Builds JSON pointer to data from processing path |
||
11 | * Path example: #->properties:responses->additionalProperties:envvar->properties:schema |
||
12 | * @param string $path |
||
13 | * @return string |
||
14 | * @todo proper path items escaping/moving to native JSON pointers |
||
15 | */ |
||
16 | 2 | public static function getDataPointer($path) { |
|
29 | } |