mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 13:06:22 +00:00
474 B
474 B
date | id | title |
---|---|---|
2020-11-12 | 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;
}