備忘録
CakePHP3 の $validator->integer() は string の '1' を許可する
ソースは以下
See \Cake\Validation\Validation::isInteger()
https://api.cakephp.org/3.8/class-Cake.Validation.Validator.html#_integer
This method will accept strings that contain only integer data as well.
https://api.cakephp.org/3.8/class-Cake.Validation.Validation.html#_isInteger