src/LdapTools/Hydrator/ArrayHydrator.php
protected function convertValuesFromLdap(array $entry)
    {
        if (!$this->schema) {
            return $entry;
        }
        $valueResolver = BaseValueResolver::getInstance(
            $this->schema,
            $entry,
            $this->type
        );
        $this->configureValueResolver($valueResolver, isset($entry['dn']) ? $entry['dn'] : null);

        return $valueResolver->fromLdap();
    }
protected function convertValuesFromLdap(array $entry)
    {
        if (!$this->schema) {
            return $entry;
        }
        $valueResolver = BaseValueResolver::getInstance(
            $this->schema,
            $entry,
            $this->type
        );
        $this->configureValueResolver($valueResolver, isset($entry['dn']) ? $entry['dn'] : null);

        return $valueResolver->fromLdap();
    }
protected function convertValuesFromLdap ( array $ entry ) { if ( ! $ this -> schema ) { return $ entry ; } $ valueResolver = BaseValueResolver :: getInstance ( $ this -> schema , $ entry , $ this -> type ) ; $ this -> configureValueResolver ( $ valueResolver , isset ( $ entry [ 'dn' ] ) ? $ entry [ 'dn' ] : null ) ; return $ valueResolver -> fromLdap ( ) ; }
Replace attribute values with the converted values if the attribute has a converter defined.

@param array $entry
@return array
Replace attribute values with the converted values if the attribute has a converter defined .