original_string: public function tableDefintion($table)
      {
          $columnStringArray = [];
          $columns = $this->getTableColumns($table, true);
  
          foreach ($columns as $key => $column) {
              if ($key === 'id') {
                  $column['type'] = 'increments';
              }
  
              $columnStringArray[] = $key.':'.$this->columnNameCheck($column['type']);
          }
  
          $columnString = implode(',', $columnStringArray);
  
          return $columnString;
      }
code: public function tableDefintion($table)
      {
          $columnStringArray = [];
          $columns = $this->getTableColumns($table, true);
  
          foreach ($columns as $key => $column) {
              if ($key === 'id') {
                  $column['type'] = 'increments';
              }
  
              $columnStringArray[] = $key.':'.$this->columnNameCheck($column['type']);
          }
  
          $columnString = implode(',', $columnStringArray);
  
          return $columnString;
      }
code_tokens: public function tableDefintion ( $ table ) { $ columnStringArray = [ ] ; $ columns = $ this -> getTableColumns ( $ table , true ) ; foreach ( $ columns as $ key => $ column ) { if ( $ key === 'id' ) { $ column [ 'type' ] = 'increments' ; } $ columnStringArray [ ] = $ key . ':' . $ this -> columnNameCheck ( $ column [ 'type' ] ) ; } $ columnString = implode ( ',' , $ columnStringArray ) ; return $ columnString ; }
docstring: Table definitions.
  
  @param string $table
  
  @return string
docstring_tokens: Table definitions .