Lines Matching defs:dn
117 public static function compare(string $dn, string $attributeName, string $value): CompareRequest
119 return new CompareRequest($dn, Filters::equal($attributeName, $value));
125 public static function delete(string $dn): DeleteRequest
127 return new DeleteRequest($dn);
143 public static function modify(string $dn, Change ...$changes): ModifyRequest
145 return new ModifyRequest($dn, ...$changes);
153 public static function move(string $dn, string $newParentDn): ModifyDnRequest
155 $dnObj = new Dn($dn);
157 return new ModifyDnRequest($dn, $dnObj->getRdn()->toString(), true, $newParentDn);
181 public static function rename(string $dn, $rdn, bool $deleteOldRdn = true): ModifyDnRequest
183 return new ModifyDnRequest($dn, $rdn, $deleteOldRdn);