src/Payum/Core/Bridge/Symfony/Form/Type/CreditCardExpirationDateType.php
public function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults(array(
            'max_expiration_year' => date('Y') + 10,
            'min_expiration_year' => date('Y'),
            'years' => function (Options $options) {
                return range($options['min_expiration_year'], $options['max_expiration_year']);
            },
        ));
    }
public function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults(array(
            'max_expiration_year' => date('Y') + 10,
            'min_expiration_year' => date('Y'),
            'years' => function (Options $options) {
                return range($options['min_expiration_year'], $options['max_expiration_year']);
            },
        ));
    }
{@inheritDoc}