public function modifyBatch($dn, array $entry)
    {
        if (! function_exists('ldap_modify_batch')) {
            // Bail out, can't work our magic!
            trigger_error(
                'ldap_modify_batch() is only available in PHP ~5.4.26 or >=5.5.10',
                E_USER_ERROR
            );
        }

        @ldap_modify_batch($this->resource, $dn, $entry);
        $this->verifyOperation();

        return $this;
    }