/** * Constructor. */ function __construct() { parent::__construct(self::getRegexp()); }
/** * Constructor. */ function __construct() { parent::__construct(ValidatorEmail::getRegexp()); }
/** * Constructor. * @param $allowedSchemes array */ function __construct($allowedSchemes = null) { parent::__construct(ValidatorUri::getRegexp($allowedSchemes)); }
/** * Constructor. */ function __construct($dateFormat = DATE_FORMAT_ISO) { parent::__construct(ValidatorDate::getRegexp($dateFormat)); }