original_string: public function value($stat_key, $value)
      {
          if (! isset($this->config['user_key'])) {
              throw new Exception('StatHat user key not set.');
          }
  
          $this->post('v', ['ukey' => $this->config['user_key'], 'key' => $stat_key, 'value' => $value]);
      }
code: public function value($stat_key, $value)
      {
          if (! isset($this->config['user_key'])) {
              throw new Exception('StatHat user key not set.');
          }
  
          $this->post('v', ['ukey' => $this->config['user_key'], 'key' => $stat_key, 'value' => $value]);
      }
code_tokens: public function value ( $ stat_key , $ value ) { if ( ! isset ( $ this -> config [ 'user_key' ] ) ) { throw new Exception ( 'StatHat user key not set.' ) ; } $ this -> post ( 'v' , [ 'ukey' => $ this -> config [ 'user_key' ] , 'key' => $ stat_key , 'value' => $ value ] ) ; }
docstring: Send a value using the classic API.
  
  @see https://www.stathat.com/manual/send#classic
  @param string $stat_key - Private key identifying the stat
  @param int $value - Value you want to track
  @throws \Exception
docstring_tokens: Send a value using the classic API .