12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?php
-
-
- namespace Doctrine\DBAL\Schema;
-
-
- class ColumnDiff
- {
- public $oldColumnName;
-
-
-
- public $column;
-
-
-
- public $changedProperties = array();
-
- public function __construct($oldColumnName, Column $column, array $changedProperties = array())
- {
- $this->oldColumnName = $oldColumnName;
- $this->column = $column;
- $this->changedProperties = $changedProperties;
- }
-
- public function hasChanged($propertyName)
- {
- return in_array($propertyName, $this->changedProperties);
- }
- }
|