src/LdapTools/Hydrator/ArrayHydrator.php
protected function configureValueResolver(BaseValueResolver $valueResolver, $dn = null)
    {
        if ($this->connection) {
            $valueResolver->setLdapConnection($this->connection);
        }
        if (!is_null($dn)) {
            $valueResolver->setDn($dn);
        }
    }
protected function configureValueResolver(BaseValueResolver $valueResolver, $dn = null)
    {
        if ($this->connection) {
            $valueResolver->setLdapConnection($this->connection);
        }
        if (!is_null($dn)) {
            $valueResolver->setDn($dn);
        }
    }
protected function configureValueResolver ( BaseValueResolver $ valueResolver , $ dn = null ) { if ( $ this -> connection ) { $ valueResolver -> setLdapConnection ( $ this -> connection ) ; } if ( ! is_null ( $ dn ) ) { $ valueResolver -> setDn ( $ dn ) ; } }
Retrieve the AttributeValueResolver instance with the connection and other information set if needed.

@param BaseValueResolver $valueResolver
@param null|string $dn
Retrieve the AttributeValueResolver instance with the connection and other information set if needed .