protected function configureIntegerProperty($property, OptionsResolver $resolver)
    {
        $resolver
            ->setAllowedTypes($property, ['integer', 'numeric'])
            ->setNormalizer($property, function (Options $options, $value) {
                return is_int($value) ? $value : intval($value);
            });
    }