public function withCaseFolding(bool $fold): self
    {
        $obj = clone $this;
        $obj->_steps[self::STEP_MAP] = new MapStep($fold);
        return $obj;
    }
public function withCaseFolding(bool $fold): self
    {
        $obj = clone $this;
        $obj->_steps[self::STEP_MAP] = new MapStep($fold);
        return $obj;
    }
public function withCaseFolding ( bool $ fold ) : self { $ obj = clone $ this ; $ obj -> _steps [ self :: STEP_MAP ] = new MapStep ( $ fold ) ; return $ obj ; }
Get self with case folding set.

@param bool $fold True to apply case folding
@return self
Get self with case folding set .