src/LdapTools/Ldif/Entry/LdifEntryAdd.php
public function setAttributes(array $attributes)
    {
        $this->attributes = [];
        foreach ($attributes as $attribute => $value) {
            $this->addAttribute($attribute, $value);
        }

        return $this;
    }
public function setAttributes(array $attributes)
    {
        $this->attributes = [];
        foreach ($attributes as $attribute => $value) {
            $this->addAttribute($attribute, $value);
        }

        return $this;
    }
public function setAttributes ( array $ attributes ) { $ this -> attributes = [ ] ; foreach ( $ attributes as $ attribute => $ value ) { $ this -> addAttribute ( $ attribute , $ value ) ; } return $ this ; }
Set the attributes that will be added to the entry going to LDAP.

@param array $attributes
@return $this
Set the attributes that will be added to the entry going to LDAP .