original_string: public function setMode($arg) {
          $this->mode = strtolower($arg) == self::LIVE ? self::LIVE : self::SANDBOX;
          return $this;
      }
code: public function setMode($arg) {
          $this->mode = strtolower($arg) == self::LIVE ? self::LIVE : self::SANDBOX;
          return $this;
      }
code_tokens: public function setMode ( $ arg ) { $ this -> mode = strtolower ( $ arg ) == self :: LIVE ? self :: LIVE : self :: SANDBOX ; return $ this ; }
docstring: IS TEST OR LIVE
  @param string $arg
  @return $this
docstring_tokens: IS TEST OR LIVE