<?php/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/namespaceSymfony\Component\Validator\Constraints;
useSymfony\Component\Validator\Constraint;
/**
* Metadata for the CardSchemeValidator.
*
* @Annotation
*/class CardSchemeextends Constraint {
public $message = 'Unsupported card type or invalid card number.';
public $schemes;
public functiongetDefaultOption() {
return'schemes';
}
public functiongetRequiredOptions() {
returnarray(
'schemes',
);
}
}