| 1 | <?php |
||
| 15 | final class ZipCode extends AbstractConstraint |
||
| 16 | { |
||
| 17 | const ALL = 'all'; |
||
| 18 | |||
| 19 | public $country = self::ALL; |
||
| 20 | |||
| 21 | public $message = 'This value is not a valid ZIP code.'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * {@inheritdoc} |
||
| 25 | */ |
||
| 26 | public function __construct($options = null) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | public function getIsoCodesVersion() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | public function getIsoCodesClass() |
||
| 53 | } |
||
| 54 |