IDataSet.hhi 588 Bytes
Newer Older
Simon Welsh's avatar
Simon Welsh committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?hh // decl

interface PHPUnit_Extensions_Database_DataSet_IDataSet
  extends IteratorAggregate<PHPUnit_Extensions_Database_DataSet_ITable> {
  public function getTableNames(): array<string>;
  public function getTableMetaData(
    $tableName,
  ): PHPUnit_Extensions_Database_DataSet_ITableMetaData;
  public function getTable(
    $tableName,
  ): ?PHPUnit_Extensions_Database_DataSet_ITable;
  public function getReverseIterator(
  ): PHPUnit_Extensions_Database_DataSet_ITableIterator;
  public function matches(
    PHPUnit_Extensions_Database_DataSet_IDataSet $other,
  ): bool;
}