src/LdapTools/Hydrator/ArrayHydrator.php
protected function mergeDefaultAttributes(array $attributes)
    {
        if ($this->schema && !empty($this->schema->getDefaultValues())) {
            $attributes = array_merge($this->schema->getDefaultValues(), $attributes);
        }

        return $attributes;
    }
protected function mergeDefaultAttributes(array $attributes)
    {
        if ($this->schema && !empty($this->schema->getDefaultValues())) {
            $attributes = array_merge($this->schema->getDefaultValues(), $attributes);
        }

        return $attributes;
    }
protected function mergeDefaultAttributes ( array $ attributes ) { if ( $ this -> schema && ! empty ( $ this -> schema -> getDefaultValues ( ) ) ) { $ attributes = array_merge ( $ this -> schema -> getDefaultValues ( ) , $ attributes ) ; } return $ attributes ; }
Returns all of the attributes to be sent to LDAP after factoring in possible default schema values.

@param array $attributes
@return array
Returns all of the attributes to be sent to LDAP after factoring in possible default schema values .