class DifferentColumn in Schema 8
Hierarchy
- class \Drupal\schema\Comparison\Result\BaseColumn
- class \Drupal\schema\Comparison\Result\DifferentColumn
Expanded class hierarchy of DifferentColumn
2 files declare their use of DifferentColumn
- SchemaMigrator.php in src/
Migration/ SchemaMigrator.php - Contains Drupal\schema\Migration\SchemaMigrator.
- TableComparisonInfoBuilder.php in src/
Comparison/ TableComparisonInfoBuilder.php - Contains Drupal\schema\Comparison\TableComparisonInfoBuilder.
File
- src/
Comparison/ Result/ DifferentColumn.php, line 10 - Contains Drupal\schema\Comparison\Result\ColumnDifference.
Namespace
Drupal\schema\Comparison\ResultView source
class DifferentColumn extends BaseColumn {
protected $different_keys;
protected $declared_schema;
protected $actual_schema;
public function __construct($table_name, $column_name, $different_keys, $declared_schema, $actual_schema) {
parent::__construct($table_name, $column_name, $declared_schema);
$this->actual_schema = $actual_schema;
$this->column_name = $column_name;
$this->different_keys = $different_keys;
$this->table_name = $table_name;
}
public function getActualSchema() {
return $this->actual_schema;
}
public function getDeclaredSchema() {
return $this->schema;
}
public function getDifferentKeys() {
return $this->different_keys;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseColumn:: |
protected | property | ||
BaseColumn:: |
protected | property | ||
BaseColumn:: |
protected | property | ||
BaseColumn:: |
public | function | ||
BaseColumn:: |
public | function | ||
BaseColumn:: |
public | function | ||
DifferentColumn:: |
protected | property | ||
DifferentColumn:: |
protected | property | ||
DifferentColumn:: |
protected | property | ||
DifferentColumn:: |
public | function | ||
DifferentColumn:: |
public | function | ||
DifferentColumn:: |
public | function | ||
DifferentColumn:: |
public | function |
Overrides BaseColumn:: |