class HostnameValidator extends AbstractValidator (View source)

Validator for http://tools.ietf.org/html/rfc1123 compatible host names

Properties

protected array $supportedOptions

Methods

void
isValid(mixed $hostname)

Validates if the hostname is valid.

Details

protected void isValid(mixed $hostname)

Validates if the hostname is valid.

Parameters

mixed $hostname

The hostname that should be validated

Return Value

void