src/Adldap.php
public function setUseSSL($useSSL)
    {
        // Make sure we set the correct SSL port if using SSL
        if ($useSSL) {
            $this->ldapConnection->useSSL();

            $this->setPort(ConnectionInterface::PORT_SSL);
        } else {
            $this->setPort(ConnectionInterface::PORT);
        }
    }
public function setUseSSL($useSSL)
    {
        // Make sure we set the correct SSL port if using SSL
        if ($useSSL) {
            $this->ldapConnection->useSSL();

            $this->setPort(ConnectionInterface::PORT_SSL);
        } else {
            $this->setPort(ConnectionInterface::PORT);
        }
    }
public function setUseSSL ( $ useSSL ) { // Make sure we set the correct SSL port if using SSL if ( $ useSSL ) { $ this -> ldapConnection -> useSSL ( ) ; $ this -> setPort ( ConnectionInterface :: PORT_SSL ) ; } else { $ this -> setPort ( ConnectionInterface :: PORT ) ; } }
Set whether to use SSL on the
current ldap connection.

@param bool $useSSL
Set whether to use SSL on the current ldap connection .