711e0583e28e4e2caee6db3d15efb7d58fe67665
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Configuration / Loader / YamlFileLoader / Configuration.php
1 <?php
2 declare(strict_types = 1);
3 namespace TYPO3\CMS\Core\Configuration\Loader\YamlFileLoader;
4
5 /*
6 * This file is part of the TYPO3 CMS project.
7 *
8 * It is free software; you can redistribute it and/or modify it under
9 * the terms of the GNU General Public License, either version 2
10 * of the License, or any later version.
11 *
12 * For the full copyright and license information, please read the
13 * LICENSE.txt file that was distributed with this source code.
14 *
15 * The TYPO3 project - inspiring people to share!
16 */
17
18 /**
19 * Configuration for YAML file loading
20 */
21 class Configuration
22 {
23 /**
24 * @var bool
25 */
26 protected $processImports = true;
27
28 /**
29 * @var bool
30 */
31 protected $removeImportsProperty = true;
32
33 /**
34 * @var bool
35 */
36 protected $mergeLists = true;
37
38 /**
39 * @var bool
40 */
41 protected $processPlaceholders = true;
42
43 /**
44 * @return bool
45 */
46 public function getProcessImports(): bool
47 {
48 return $this->processImports;
49 }
50
51 /**
52 * @param bool $processImports
53 * @return Configuration
54 */
55 public function setProcessImports(bool $processImports): self
56 {
57 $this->processImports = $processImports;
58 return $this;
59 }
60
61 /**
62 * @return bool
63 */
64 public function getRemoveImportsProperty(): bool
65 {
66 return $this->removeImportsProperty;
67 }
68
69 /**
70 * @param bool $removeImportsProperty
71 * @return Configuration
72 */
73 public function setRemoveImportsProperty(bool $removeImportsProperty): self
74 {
75 $this->removeImportsProperty = $removeImportsProperty;
76 return $this;
77 }
78
79 /**
80 * @return bool
81 */
82 public function getProcessPlaceholders(): bool
83 {
84 return $this->processPlaceholders;
85 }
86
87 /**
88 * @param bool $processPlaceholders
89 * @return Configuration
90 */
91 public function setProcessPlaceholders(bool $processPlaceholders): self
92 {
93 $this->processPlaceholders = $processPlaceholders;
94 return $this;
95 }
96
97 /**
98 * @return bool
99 */
100 public function getMergeLists(): bool
101 {
102 return $this->mergeLists;
103 }
104
105 /**
106 * @param bool $mergeLists
107 * @return Configuration
108 */
109 public function setMergeLists(bool $mergeLists): self
110 {
111 $this->mergeLists = $mergeLists;
112 return $this;
113 }
114 }