You are here

public function SchemaComparison::getSameTables in Schema 8

File

src/Comparison/Result/SchemaComparison.php, line 58
Contains Drupal\schema\Comparison\Result\SchemaComparison.

Class

SchemaComparison
Stores the results of a schema comparison.

Namespace

Drupal\schema\Comparison\Result

Code

public function getSameTables() {
  return array_filter($this->tables_compared, function ($table) {

    /** @var $table TableComparison */
    return $table
      ->isStatusSame();
  });
}