ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilStyleSetupConfig.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
9{
14
18 protected $path_to_lessc;
19
20 public function __construct(
22 ?string $path_to_lessc
23 ) {
24 $this->manage_system_styles = $manage_system_styles;
25 $this->path_to_lessc = $this->toLinuxConvention($path_to_lessc);
26 }
27
28 protected function toLinuxConvention(?string $p) : ?string
29 {
30 if (!$p) {
31 return null;
32 }
33 return preg_replace("/\\\\/", "/", $p);
34 }
35
36 public function getManageSystemStyles() : bool
37 {
39 }
40
41 public function getPathToLessc() : ?string
42 {
44 }
45}
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(bool $manage_system_styles, ?string $path_to_lessc)
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...