You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add 3r parameter $path parameter to Hash::filter() to allow filter by deep values (or maybe create new function).
Currently it filters only by top level values: public static function filter(array $data, $callback = ['self', '_filter'])
The text was updated successfully, but these errors were encountered:
Are you sure about that? There are tests covering that Hash::filter() recurses into all array values as well. How would the proposed path parameter work? Would only those paths be filtered?
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
CakePHP Version:
3.9
,4
Add 3r parameter
$path
parameter toHash::filter()
to allow filter by deep values (or maybe create new function).Currently it filters only by top level values:
public static function filter(array $data, $callback = ['self', '_filter'])
The text was updated successfully, but these errors were encountered: