LdapTools\Ldif\Entry\LdifEntryAdd::setAttributes PHP Method

setAttributes() public method

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