File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ Unreleased]
4+
5+ ### Added
6+
7+ - ` Innmind\OperatingSystem\Config::withIO() `
8+
39## 6.0.0 - 2025-05-24
410
511### Added
Original file line number Diff line number Diff line change @@ -211,6 +211,30 @@ public function mapHalt(\Closure $map): self
211211 );
212212 }
213213
214+ /**
215+ * @psalm-mutation-free
216+ */
217+ public function withIO (IO $ iod ): self
218+ {
219+ return new self (
220+ $ this ->clock ,
221+ $ this ->mapClock ,
222+ $ io ,
223+ $ this ->halt ,
224+ $ this ->mapHalt ,
225+ $ this ->path ,
226+ $ this ->httpTransport ,
227+ $ this ->mapHttpTransport ,
228+ $ this ->sql ,
229+ $ this ->mapSql ,
230+ $ this ->mapServerControl ,
231+ $ this ->mapServerStatus ,
232+ $ this ->mapFileWatch ,
233+ $ this ->filesystem ,
234+ $ this ->mapFilesystem ,
235+ );
236+ }
237+
214238 /**
215239 * @psalm-mutation-free
216240 */
You can’t perform that action at this time.
0 commit comments