enum Athena::Validator::Constraints::IP::Version
Overview
Determines how the IP address should be validated.
Defined in:
constraints/ip.crEnum Members
-
V4 =
0
-
Validates for
IPv4
addresses. -
V6 =
1
-
Validates for
IPv6
addresses. -
V4_V6 =
2
-
Validates for
IPv4
orIPv6
addresses.
Instance Method Summary
-
#pattern : ::Regex
Returns the
::Regex
pattern forself
. - #v4?
- #v4_v6?
- #v6?