src/LdapTools/Operation/AuthenticationOperation.php
protected function validateArguments()
    {
        if ($this->getIsAnonymousBind()) {
            return;
        }
        if (empty($this->properties['username']) || empty($this->properties['password'])) {
            throw new LdapBindException("You must specify a username and password.");
        }
    }
protected function validateArguments()
    {
        if ($this->getIsAnonymousBind()) {
            return;
        }
        if (empty($this->properties['username']) || empty($this->properties['password'])) {
            throw new LdapBindException("You must specify a username and password.");
        }
    }
protected function validateArguments ( ) { if ( $ this -> getIsAnonymousBind ( ) ) { return ; } if ( empty ( $ this -> properties [ 'username' ] ) || empty ( $ this -> properties [ 'password' ] ) ) { throw new LdapBindException ( "You must specify a username and password." ) ; } }
Validates that the arguments given don't have any issues.

@throws LdapBindException
Validates that the arguments given don t have any issues .