Skip to content

enum Athena::Validator::Constraints::IP::Version #

Determines how the IP address should be validated.

Members#

V4 = 0#

Validates for IPv4 addresses.

V6 = 1#

Validates for IPv6 addresses.

V4_V6 = 2#

Validates for IPv4 or IPv6 addresses.

Methods#

#v4_v6?#

View source