protected function configureByteProperty($property, OptionsResolver $resolver)
    {
        $resolver
            ->setAllowedTypes($property, 'byte')
            ->setNormalizer($property, function (Options $options, $value) {
                return is_numeric($value) ? intval($value) : $value;
            });
    }
protected function configureByteProperty($property, OptionsResolver $resolver)
    {
        $resolver
            ->setAllowedTypes($property, 'byte')
            ->setNormalizer($property, function (Options $options, $value) {
                return is_numeric($value) ? intval($value) : $value;
            });
    }
protected function configureByteProperty ( $ property , OptionsResolver $ resolver ) { $ resolver -> setAllowedTypes ( $ property , 'byte' ) -> setNormalizer ( $ property , function ( Options $ options , $ value ) { return is_numeric ( $ value ) ? intval ( $ value ) : $ value ; } ) ; }
Configures a byte property for OptionsResolver.

@param string          $property
@param OptionsResolver $resolver
Configures a byte property for OptionsResolver .