ILIAS  release_7 Revision v7.30-3-g800a261c036
ClientSettings.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use JsonSerializable;
24
29class ClientSettings implements JsonSerializable
30{
34 private $hashing = true;
38 private $logging = false;
39
40 public function setHashing(bool $hashing) : self
41 {
42 $this->hashing = $hashing;
43
44 return $this;
45 }
46
47 public function setLogging(bool $logging) : self
48 {
49 $this->logging = $logging;
50
51 return $this;
52 }
53
57 public function jsonSerialize()
58 {
59 return [
60 'hashing' => $this->hashing,
61 'logging' => $this->logging,
62 ];
63 }
64}
An exception for terminatinating execution or to throw for unit testing.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: gs_content.php:1