src/Validator/HostnameValidator.php
public function setMustPass($ref)
    {
        if (null!==$this->getMask($ref)) {
            $this->must_pass = $ref;
        } else {
            throw new \Exception(sprintf("Unknown standard [%s] in Hostname validation!", $ref));
        }
    }
public function setMustPass($ref)
    {
        if (null!==$this->getMask($ref)) {
            $this->must_pass = $ref;
        } else {
            throw new \Exception(sprintf("Unknown standard [%s] in Hostname validation!", $ref));
        }
    }
public function setMustPass ( $ ref ) { if ( null !== $ this -> getMask ( $ ref ) ) { $ this -> must_pass = $ ref ; } else { throw new \ Exception ( sprintf ( "Unknown standard [%s] in Hostname validation!" , $ ref ) ) ; } }
Defines the RFC to validate

@param   string  $ref
@throws  \Exception if the `$ref` is not a known RFC
Defines the RFC to validate