original_string: public function createTable($table, $columnNames, $primaryKey = array())
      {
          $table = $this->prefixTable($table);
  
          if (!empty($primaryKey) && !is_array($primaryKey)) {
              $primaryKey = array($primaryKey);
          }
  
          return $this->container->make('Piwik\Updater\Migration\Db\CreateTable', array(
              'table' => $table, 'columnNames' => $columnNames, 'primaryKey' => $primaryKey
          ));
      }
code: public function createTable($table, $columnNames, $primaryKey = array())
      {
          $table = $this->prefixTable($table);
  
          if (!empty($primaryKey) && !is_array($primaryKey)) {
              $primaryKey = array($primaryKey);
          }
  
          return $this->container->make('Piwik\Updater\Migration\Db\CreateTable', array(
              'table' => $table, 'columnNames' => $columnNames, 'primaryKey' => $primaryKey
          ));
      }
code_tokens: public function createTable ( $ table , $ columnNames , $ primaryKey = array ( ) ) { $ table = $ this -> prefixTable ( $ table ) ; if ( ! empty ( $ primaryKey ) && ! is_array ( $ primaryKey ) ) { $ primaryKey = array ( $ primaryKey ) ; } return $ this -> container -> make ( 'Piwik\Updater\Migration\Db\CreateTable' , array ( 'table' => $ table , 'columnNames' => $ columnNames , 'primaryKey' => $ primaryKey ) ) ; }
docstring: Creates a new database table.
  @param string $table  Unprefixed database table name, eg 'log_visit'.
  @param array $columnNames  An array of column names and their type they should use. For example:
  array('column_name_1' => 'VARCHAR(200) NOT NULL', 'column_name_2' => 'INT(10) DEFAULT 0')
  @param string|string[] $primaryKey Optional. One or multiple columns that shall define the primary key.
  @return CreateTable
docstring_tokens: Creates a new database table .