This method will accept integers, floats, strings and booleans, but not accept arrays, objects, resources and nulls.
See: https://api.cakephp.org/3.5/class-Cake.Validation.Validation.html#_isScalar
This method will accept integers, floats, strings and booleans, but not accept arrays, objects, resources and nulls.
See: https://api.cakephp.org/3.5/class-Cake.Validation.Validation.html#_isScalar