1 | <?php |
||
15 | final class Options |
||
16 | { |
||
17 | /** |
||
18 | * @var bool |
||
19 | */ |
||
20 | private $diffMode = false; |
||
21 | |||
22 | /** |
||
23 | * @var bool |
||
24 | */ |
||
25 | private $easyMode = false; |
||
26 | |||
27 | /** |
||
28 | * @var bool |
||
29 | */ |
||
30 | private $readonlyMode = false; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | private $encoding; |
||
36 | |||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | private $termEncoding; |
||
42 | |||
43 | |||
44 | /** |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getTermEncoding() |
||
51 | |||
52 | |||
53 | /** |
||
54 | * @param string $termEncoding |
||
55 | * |
||
56 | * @return Options |
||
57 | */ |
||
58 | public function setTermEncoding(string $termEncoding) |
||
64 | |||
65 | /** |
||
66 | * @return string |
||
67 | */ |
||
68 | public function getEncoding() |
||
72 | |||
73 | |||
74 | /** |
||
75 | * set encoding=<your encoding> |
||
76 | * @param string $encoding |
||
77 | * |
||
78 | * @return Options |
||
79 | */ |
||
80 | public function setEncoding(string $encoding) : Options |
||
86 | |||
87 | /** |
||
88 | * @return bool |
||
89 | */ |
||
90 | public function isDiffMode() |
||
94 | |||
95 | /** |
||
96 | * @param bool $diffMode |
||
97 | * @return Options |
||
98 | */ |
||
99 | public function setDiffMode(bool $diffMode) : Options |
||
105 | |||
106 | /** |
||
107 | * @return bool |
||
108 | */ |
||
109 | public function isEasyMode() |
||
113 | |||
114 | /** |
||
115 | * @param bool $easyMode |
||
116 | * @return Options |
||
117 | */ |
||
118 | public function setEasyMode(bool $easyMode) : Options |
||
124 | |||
125 | /** |
||
126 | * @return bool |
||
127 | */ |
||
128 | public function isReadonlyMode() |
||
132 | |||
133 | /** |
||
134 | * @param bool $readonlyMode |
||
135 | * @return Options |
||
136 | */ |
||
137 | public function setReadonlyMode(bool $readonlyMode) : Options |
||
143 | |||
144 | /** |
||
145 | * @return string |
||
146 | */ |
||
147 | public function __toString() : string |
||
173 | } |