You are here

class DifferentColumn in Schema 8

Hierarchy

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\Result
View 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