'$/',
$key ), ARRAY_FILTER_USE_KEY
);
// if keys not found
$values =
$values ?:
[$field => null
];
} else { $values =
dot_array_search($field,
$data);
} if ($values ===
[]) { // We'll process the values right away if an empty array
$this->
processRules($field,
$setup['label'
] ??
$field,
$values,
$rules,
$data);
continue;
} if (strpos($field, '*'
) !== false
) { // Process multiple fields
foreach ($values as $dotField =>
$value) { $this->
processRules($dotField,
$setup['label'
] ??
$field,
$value,
$rules,
$data,
$field);
} } else { // Process single field