src/LdapTools/Resolver/AttributeNameResolver.php
public function toLdap(array $entry)
    {
        $toLdap = [];

        foreach ($entry as $attribute => $value) {
            $toLdap[$this->schema->getAttributeToLdap($attribute)] = $value;
        }

        return $toLdap;
    }
public function toLdap(array $entry)
    {
        $toLdap = [];

        foreach ($entry as $attribute => $value) {
            $toLdap[$this->schema->getAttributeToLdap($attribute)] = $value;
        }

        return $toLdap;
    }
public function toLdap ( array $ entry ) { $ toLdap = [ ] ; foreach ( $ entry as $ attribute => $ value ) { $ toLdap [ $ this -> schema -> getAttributeToLdap ( $ attribute ) ] = $ value ; } return $ toLdap ; }
Convert values to LDAP.

@param array $entry The LDAP entry.
@return array
Convert values to LDAP .