ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilPreviewSetupConfig.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
6
8{
13
14 public function __construct(
16 ) {
17 $this->path_to_ghostscript = $this->toLinuxConvention($path_to_ghostscript);
18 }
19
20 protected function toLinuxConvention(?string $p) : ?string
21 {
22 if (!$p) {
23 return null;
24 }
25 return preg_replace("/\\\\/", "/", $p);
26 }
27
28 public function getPathToGhostscript() : ?string
29 {
31 }
32}
An exception for terminatinating execution or to throw for unit testing.
__construct(?string $path_to_ghostscript)
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...