public function add($dn, array $entry)
    {
        @ldap_add($this->resource, $dn, $entry);
        $this->verifyOperation();

        return $this;
    }
public function add($dn, array $entry)
    {
        @ldap_add($this->resource, $dn, $entry);
        $this->verifyOperation();

        return $this;
    }
public function add ( $ dn , array $ entry ) { @ ldap_add ( $ this -> resource , $ dn , $ entry ) ; $ this -> verifyOperation ( ) ; return $ this ; }
Add entries to LDAP directory

@param  string $dn    The distinguished name of an LDAP entity
@param  array  $entry An array that specifies the information about the entry
@return self
Add entries to LDAP directory