You are here

class DifferentIndex in Schema 8

Hierarchy

Expanded class hierarchy of DifferentIndex

1 file declares its use of DifferentIndex
TableComparisonInfoBuilder.php in src/Comparison/TableComparisonInfoBuilder.php
Contains Drupal\schema\Comparison\TableComparisonInfoBuilder.

File

src/Comparison/Result/DifferentIndex.php, line 10
Contains Drupal\schema\Comparison\Result\DifferentIndex

Namespace

Drupal\schema\Comparison\Result
View source
class DifferentIndex extends BaseIndex {
  protected $actual_schema;
  function __construct($table_name, $index_name, $index_type, $declared_schema, $actual_schema) {
    parent::__construct($table_name, $index_name, $index_type, $declared_schema);
    $this->actual_schema = $actual_schema;
  }
  public function getDeclaredSchema() {
    return $this->schema;
  }
  public function getActualSchema() {
    return $this->actual_schema;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
BaseIndex::$index_name protected property
BaseIndex::$index_type protected property
BaseIndex::$schema protected property
BaseIndex::$table_name protected property
BaseIndex::getIndexName public function
BaseIndex::getModule public function
BaseIndex::getTableName public function
BaseIndex::getType public function
BaseIndex::isPrimary public function
DifferentIndex::$actual_schema protected property
DifferentIndex::getActualSchema public function
DifferentIndex::getDeclaredSchema public function
DifferentIndex::__construct function Overrides BaseIndex::__construct