original_string: public function prepareTableExample($table)
      {
          $tableExample = '';
          $definitions = $this->calibrateDefinitions($table);
  
          foreach ($definitions as $key => $column) {
              $columnDefinition = explode(':', $column);
              $example = $this->createExampleByType($columnDefinition[1]);
  
              if ($key === 0) {
                  $tableExample .= "'$columnDefinition[0]' => '$example',\n";
              } else {
                  $tableExample .= "\t\t'$columnDefinition[0]' => '$example',\n";
              }
          }
  
          return $tableExample;
      }
code: public function prepareTableExample($table)
      {
          $tableExample = '';
          $definitions = $this->calibrateDefinitions($table);
  
          foreach ($definitions as $key => $column) {
              $columnDefinition = explode(':', $column);
              $example = $this->createExampleByType($columnDefinition[1]);
  
              if ($key === 0) {
                  $tableExample .= "'$columnDefinition[0]' => '$example',\n";
              } else {
                  $tableExample .= "\t\t'$columnDefinition[0]' => '$example',\n";
              }
          }
  
          return $tableExample;
      }
code_tokens: public function prepareTableExample ( $ table ) { $ tableExample = '' ; $ definitions = $ this -> calibrateDefinitions ( $ table ) ; foreach ( $ definitions as $ key => $ column ) { $ columnDefinition = explode ( ':' , $ column ) ; $ example = $ this -> createExampleByType ( $ columnDefinition [ 1 ] ) ; if ( $ key === 0 ) { $ tableExample .= "'$columnDefinition[0]' => '$example',\n" ; } else { $ tableExample .= "\t\t'$columnDefinition[0]' => '$example',\n" ; } } return $ tableExample ; }
docstring: Prepare a table array example.
  
  @param string $table
  
  @return string
docstring_tokens: Prepare a table array example .