lib/Doctrine/DBAL/Schema/Table.php
public function getPrimaryKeyColumns()
    {
        $primaryKey = $this->getPrimaryKey();

        if ($primaryKey === null) {
            throw new DBALException('Table ' . $this->getName() . ' has no primary key.');
        }

        return $primaryKey->getColumns();
    }
public function getPrimaryKeyColumns()
    {
        $primaryKey = $this->getPrimaryKey();

        if ($primaryKey === null) {
            throw new DBALException('Table ' . $this->getName() . ' has no primary key.');
        }

        return $primaryKey->getColumns();
    }
public function getPrimaryKeyColumns ( ) { $ primaryKey = $ this -> getPrimaryKey ( ) ; if ( $ primaryKey === null ) { throw new DBALException ( 'Table ' . $ this -> getName ( ) . ' has no primary key.' ) ; } return $ primaryKey -> getColumns ( ) ; }
Returns the primary key columns.

@return string[]

@throws DBALException
Returns the primary key columns .