src/LdapTools/DomainConfiguration.php
public function setLdapType($ldapType)
    {
        if (!defined('\LdapTools\Connection\LdapConnection::TYPE_'.strtoupper($ldapType))) {
            throw new InvalidArgumentException(sprintf('Invalid LDAP type "%s".', $ldapType));
        }
        $this->config['ldapType'] = strtolower($ldapType);

        return $this;
    }
public function setLdapType($ldapType)
    {
        if (!defined('\LdapTools\Connection\LdapConnection::TYPE_'.strtoupper($ldapType))) {
            throw new InvalidArgumentException(sprintf('Invalid LDAP type "%s".', $ldapType));
        }
        $this->config['ldapType'] = strtolower($ldapType);

        return $this;
    }
public function setLdapType ( $ ldapType ) { if ( ! defined ( '\LdapTools\Connection\LdapConnection::TYPE_' . strtoupper ( $ ldapType ) ) ) { throw new InvalidArgumentException ( sprintf ( 'Invalid LDAP type "%s".' , $ ldapType ) ) ; } $ this -> config [ 'ldapType' ] = strtolower ( $ ldapType ) ; return $ this ; }
Set the LDAP type for this domain.

@param string $ldapType The LDAP type.
@return $this
Set the LDAP type for this domain .