Closed ve3 closed 5 years ago
It would be better to use array_intersect
/array_diff
/array_keys
to check if an array contains only the keys you need. I don't think a new method is needed for this in Arr at the time. (This is also the wrong repo. For v1 you want fuel/fuel
and for v2 Arr you want fuelphp/common
)
I was extend this method in my code. It check that 2d array must only have these key.
example: