public function SchemaComparison::getTableComparison in Schema 8
Parameters
$name:
null $schema:
Return value
File
- src/
Comparison/ Result/ SchemaComparison.php, line 38 - Contains Drupal\schema\Comparison\Result\SchemaComparison.
Class
- SchemaComparison
- Stores the results of a schema comparison.
Namespace
Drupal\schema\Comparison\ResultCode
public function getTableComparison($name, $schema = NULL) {
if (!isset($this->tables_compared[$name])) {
$this->tables_compared[$name] = new TableComparison($name, $schema);
}
return $this->tables_compared[$name];
}