original_string: public function setValue($key, array $value, string $table)
      {
          $this->checkTable($table);
  
          $this->$table->set($key, ['value' => json_encode($value)]);
  
          return $this;
      }
code: public function setValue($key, array $value, string $table)
      {
          $this->checkTable($table);
  
          $this->$table->set($key, ['value' => json_encode($value)]);
  
          return $this;
      }
code_tokens: public function setValue ( $ key , array $ value , string $ table ) { $ this -> checkTable ( $ table ) ; $ this -> $ table -> set ( $ key , [ 'value' => json_encode ( $ value ) ] ) ; return $ this ; }
docstring: Set value to table
  
  @param $key
  @param array $value
  @param string $table
  
  @return $this
docstring_tokens: Set value to table