original_string: public function setJsonPrettyPrint(bool $enable): self
      {
          if ($enable) {
              $this->jsonEncodeOptions |= JSON_PRETTY_PRINT;
          } else {
              $this->jsonEncodeOptions ^= JSON_PRETTY_PRINT;
          }
  
          return $this;
      }
code: public function setJsonPrettyPrint(bool $enable): self
      {
          if ($enable) {
              $this->jsonEncodeOptions |= JSON_PRETTY_PRINT;
          } else {
              $this->jsonEncodeOptions ^= JSON_PRETTY_PRINT;
          }
  
          return $this;
      }
code_tokens: public function setJsonPrettyPrint ( bool $ enable ) : self { if ( $ enable ) { $ this -> jsonEncodeOptions |= JSON_PRETTY_PRINT ; } else { $ this -> jsonEncodeOptions ^= JSON_PRETTY_PRINT ; } return $ this ; }
docstring: Enables `json_encode` pretty print.
docstring_tokens: Enables json_encode pretty print .