ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilSetupConfig.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2019 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
7
8class ilSetupConfig implements Setup\Config
9{
13 protected $client_id;
14
19
23 protected $register_nic;
24
25 public function __construct(
27 \DateTimeZone $server_timezone,
28 bool $register_nic
29 ) {
30 $this->client_id = $client_id;
31 $this->server_timezone = $server_timezone;
32 $this->register_nic = $register_nic;
33 }
34
35 public function getClientId() : string
36 {
37 return $this->client_id->toString();
38 }
39
40 public function getServerTimeZone() : \DateTimeZone
41 {
43 }
44
45 public function getRegisterNIC() : bool
46 {
48 }
49}
An exception for terminatinating execution or to throw for unit testing.
A password is used as part of credentials for authentication.
Definition: Password.php:14
__construct(\ILIAS\Data\ClientId $client_id, \DateTimeZone $server_timezone, bool $register_nic)
A configuration for the setup.
Definition: Config.php:11
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ChatMainBarProvider \MainMenu\Provider.