escapeCharacter = $escapeCharacter; return $this; } /** * Changing auto-detect not allowed in this class. */ public function setTestAutoDetect(bool $value): self { if ($value !== false) { throw new ReaderException('This class requires that testAutoDetect be false'); } $this->testAutodetect = $value; return $this; } }