Changing this can break path resolution for relative config paths so do not call this without knowing what you are doing
The $baseDir should be an absolute path and without trailing slash
non-empty-string|null $baseDir:
public function setBaseDir(?string $baseDir) : void { $this->baseDir = $baseDir; }