mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 14:36:22 +00:00
457 B
457 B
id | title |
---|---|
c74d4f32-ff6b-419e-8ed7-eb0b018de44d | CardScheme Constraint |
See Universal Air Travel Plan1 for more details.
Syntax
// ...
class Transaction
{
/**
* @Assert\CardScheme(
* schemes={"AMEX", "MASTERCARD", "UATP", "VISA"},
* message="Your credit card number is invalid."
* )
*/
protected $cardNumber;
}