ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ClientSettings.php
Go to the documentation of this file.
1<?php
2
4
5use JsonSerializable;
6
12class ClientSettings implements JsonSerializable
13{
14
18 private $hashing = true;
22 private $logging = false;
23
24
30 public function setHashing(bool $hashing) : ClientSettings
31 {
32 $this->hashing = $hashing;
33
34 return $this;
35 }
36
37
43 public function setLogging(bool $logging) : ClientSettings
44 {
45 $this->logging = $logging;
46
47 return $this;
48 }
49
50
54 public function jsonSerialize()
55 {
56 return [
57 'hashing' => $this->hashing,
58 'logging' => $this->logging,
59 ];
60 }
61}
An exception for terminatinating execution or to throw for unit testing.
Entry Point for Async calls from the Notification Center.
Definition: gs_content.php:1