1 | <?php |
||
19 | class IpVN extends Constraint |
||
20 | { |
||
21 | const IPV4 = BaseIpVN::IPV4; |
||
22 | |||
23 | const IPV6 = BaseIpVN::IPV6; |
||
24 | |||
25 | const IP_VN_ERROR = 'a21abd13-9fc6-4319-a07a-9dfdc0b33719'; |
||
26 | |||
27 | const IPV4_VN_ERROR = '6b162d27-d99e-4c4c-aadd-179a8b37ebc8'; |
||
28 | |||
29 | const IPV6_VN_ERROR = '1c417ab3-734c-4694-a52e-af4bcfc8dd4f'; |
||
30 | |||
31 | protected static $errorNames = [ |
||
32 | self::IP_VN_ERROR => 'IP_VN_ERROR', |
||
33 | self::IPV4_VN_ERROR => 'IPV4_VN_ERROR', |
||
34 | self::IPV6_VN_ERROR => 'IPV6_VN_ERROR', |
||
35 | ]; |
||
36 | |||
37 | public $message; |
||
38 | |||
39 | public $version; |
||
40 | |||
41 | public function __construct($options = null) |
||
59 | } |
||
60 |