PHP Class PHPUnit_Extensions_Database_DataSet_AbstractTableMetaData, qcodo

Author: Mike Lively ([email protected])
Inheritance: implements PHPUnit_Extensions_Database_DataSet_ITableMetaData
Show file Open project: qcodo/qcodo

Protected Properties

Property Type Description
$columns Array The names of all columns in the table.
$primaryKeys Array The names of all the primary keys in the table.
$tableName string

Public Methods

Method Description
assertEquals ( PHPUnit_Extensions_Database_DataSet_ITableMetaData $other ) Asserts that the given tableMetaData matches this tableMetaData.
getColumns ( ) : array Returns the names of the columns in the table.
getPrimaryKeys ( ) : array Returns the names of the primary key columns in the table.
getTableName ( ) : string Returns the name of the table.

Method Details

assertEquals() public method

Asserts that the given tableMetaData matches this tableMetaData.
public assertEquals ( PHPUnit_Extensions_Database_DataSet_ITableMetaData $other )
$other PHPUnit_Extensions_Database_DataSet_ITableMetaData

getColumns() public method

Returns the names of the columns in the table.
public getColumns ( ) : array
return array

getPrimaryKeys() public method

Returns the names of the primary key columns in the table.
public getPrimaryKeys ( ) : array
return array

getTableName() public method

Returns the name of the table.
public getTableName ( ) : string
return string

Property Details

$columns protected property

The names of all columns in the table.
protected Array $columns
return Array

$primaryKeys protected property

The names of all the primary keys in the table.
protected Array $primaryKeys
return Array

$tableName protected property

protected string $tableName
return string