Lines Matching defs:controls

118      * @param Control ...$controls
122 public function compare($dn, string $attributeName, string $value, Control ...$controls): bool
125 $response = $this->sendAndReceive(Operations::compare($dn, $attributeName, $value), ...$controls)->getResponse();
134 * @param Control ...$controls
138 public function create(Entry $entry, Control ...$controls): LdapMessageResponse
140 $response = $this->sendAndReceive(Operations::add($entry), ...$controls);
151 * @param Control ...$controls
155 public function read(string $entry = '', $attributes = [], Control ...$controls): ?Entry
158 return $this->readOrFail($entry, $attributes, ...$controls);
172 * @param Control ...$controls
176 public function readOrFail(string $entry = '', $attributes = [], Control ...$controls): Entry
178 $entryObj = $this->search(Operations::read($entry, ...$attributes), ...$controls)->first();
193 * @param Control ...$controls
197 public function delete(string $entry, Control ...$controls): LdapMessageResponse
199 return $this->sendAndReceive(Operations::delete($entry), ...$controls);
206 * @param Control ...$controls
210 public function update(Entry $entry, Control ...$controls): LdapMessageResponse
212 $response = $this->sendAndReceive(Operations::modify($entry->getDn(), ...$entry->changes()), ...$controls);
249 * @param Control ...$controls
253 public function search(SearchRequest $request, Control ...$controls): Entries
256 $response = $this->sendAndReceive($request, ...$controls)->getResponse();
303 * @param Control ...$controls
309 public function send(RequestInterface $request, Control ...$controls): ?LdapMessageResponse
311 return $this->handler()->send($request, ...$controls);
318 * @param Control ...$controls
324 public function sendAndReceive(RequestInterface $request, Control ...$controls): LdapMessageResponse
326 $response = $this->send($request, ...$controls);
387 * Access to add/set/remove/reset the controls to be used for each request. If you want request specific controls in
392 public function controls(): ControlBag
394 return $this->handler()->controls();