* Extracts fields inside curly braces from the path string. */
(string $path)
| 162 | * Extracts fields inside curly braces from the path string. |
| 163 | */ |
| 164 | private function extractArrayFields(string $path): array { |
| 165 | preg_match_all("/(?<={).*(?=})/", $path, $matches); |
| 166 | return $matches[0] ?? []; |
| 167 | } |
| 168 | |
| 169 | /** |
| 170 | * If an absolute path precedes the array fields, extract the sub-array. |