| 1 | <?php |
||
| 17 | class IpVNException extends ValidationException |
||
| 18 | { |
||
| 19 | const STANDARD = 0; |
||
| 20 | |||
| 21 | const VERSION = 1; |
||
| 22 | |||
| 23 | public static $defaultTemplates = [ |
||
| 24 | self::MODE_DEFAULT => [ |
||
| 25 | self::STANDARD => '{{name}} must be an IP address of Viet Nam', |
||
| 26 | self::VERSION => '{{name}} must not be an IP address version {{version}} of Viet Nam', |
||
| 27 | ], |
||
| 28 | self::MODE_NEGATIVE => [ |
||
| 29 | self::STANDARD => '{{name}} must be an IP address of Viet Nam', |
||
| 30 | self::VERSION => '{{name}} must not be an IP address version {{version}} of Viet Nam', |
||
| 31 | ], |
||
| 32 | ]; |
||
| 33 | |||
| 34 | public function chooseTemplate() |
||
| 42 | } |
||
| 43 |