public function inputEncoding(string $encoding): self
    {
        $encoding = $this->filterEncoding($encoding);
        if ($encoding === $this->input_encoding) {
            return $this;
        }

        $clone = clone $this;
        $clone->input_encoding = $encoding;

        return $clone;
    }
public function inputEncoding(string $encoding): self
    {
        $encoding = $this->filterEncoding($encoding);
        if ($encoding === $this->input_encoding) {
            return $this;
        }

        $clone = clone $this;
        $clone->input_encoding = $encoding;

        return $clone;
    }
public function inputEncoding ( string $ encoding ) : self { $ encoding = $ this -> filterEncoding ( $ encoding ) ; if ( $ encoding === $ this -> input_encoding ) { return $ this ; } $ clone = clone $ this ; $ clone -> input_encoding = $ encoding ; return $ clone ; }
Sets the records input encoding charset.
Sets the records input encoding charset .