PATH:
home
/
centosnipponia
/
public_html
/
apptt-oldgit
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Schema
<?php namespace Doctrine\DBAL\Schema; use function in_array; /** * Represents the change of a column. */ class ColumnDiff { /** @var string */ public $oldColumnName; /** @var Column */ public $column; /** @var string[] */ public $changedProperties = []; /** @var Column|null */ public $fromColumn; /** * @param string $oldColumnName * @param string[] $changedProperties */ public function __construct( $oldColumnName, Column $column, array $changedProperties = [], ?Column $fromColumn = null ) { $this->oldColumnName = $oldColumnName; $this->column = $column; $this->changedProperties = $changedProperties; $this->fromColumn = $fromColumn; } /** * @param string $propertyName * * @return bool */ public function hasChanged($propertyName) { return in_array($propertyName, $this->changedProperties); } /** * @return Identifier */ public function getOldColumnName() { $quote = $this->fromColumn && $this->fromColumn->isQuoted(); return new Identifier($this->oldColumnName, $quote); } }
[+]
..
[-] AbstractAsset.php
[edit]
[-] AbstractSchemaManager.php
[edit]
[-] Column.php
[edit]
[-] ColumnDiff.php
[edit]
[-] Comparator.php
[edit]
[-] Constraint.php
[edit]
[-] DB2SchemaManager.php
[edit]
[-] DrizzleSchemaManager.php
[edit]
[-] ForeignKeyConstraint.php
[edit]
[-] Identifier.php
[edit]
[-] Index.php
[edit]
[-] MySqlSchemaManager.php
[edit]
[-] OracleSchemaManager.php
[edit]
[-] PostgreSqlSchemaManager.php
[edit]
[-] SQLAnywhereSchemaManager.php
[edit]
[-] SQLServerSchemaManager.php
[edit]
[-] Schema.php
[edit]
[-] SchemaConfig.php
[edit]
[-] SchemaDiff.php
[edit]
[-] SchemaException.php
[edit]
[-] Sequence.php
[edit]
[-] SqliteSchemaManager.php
[edit]
[+]
Synchronizer
[-] Table.php
[edit]
[-] TableDiff.php
[edit]
[-] View.php
[edit]
[+]
Visitor
[-] .htaccess.disabled
[edit]