| Total Complexity | 7 |
| Total Lines | 65 |
| Duplicated Lines | 0 % |
| Coverage | 43.75% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class SchemaAlterTableRemoveColumnEventArgs extends SchemaEventArgs |
||
| 16 | { |
||
| 17 | /** @var Column */ |
||
| 18 | private $column; |
||
| 19 | |||
| 20 | /** @var TableDiff */ |
||
| 21 | private $tableDiff; |
||
| 22 | |||
| 23 | /** @var AbstractPlatform */ |
||
| 24 | private $platform; |
||
| 25 | |||
| 26 | /** @var string[] */ |
||
| 27 | private $sql = []; |
||
| 28 | |||
| 29 | 486 | public function __construct(Column $column, TableDiff $tableDiff, AbstractPlatform $platform) |
|
| 34 | 486 | } |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return Column |
||
| 38 | */ |
||
| 39 | public function getColumn() |
||
| 40 | { |
||
| 41 | return $this->column; |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return TableDiff |
||
| 46 | */ |
||
| 47 | public function getTableDiff() |
||
| 48 | { |
||
| 49 | return $this->tableDiff; |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return AbstractPlatform |
||
| 54 | */ |
||
| 55 | public function getPlatform() |
||
| 56 | { |
||
| 57 | return $this->platform; |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Passing multiple SQL statements as an array is deprecated. Pass each statement as an individual argument instead. |
||
| 62 | * |
||
| 63 | * @param string|string[] $sql |
||
| 64 | * |
||
| 65 | * @return \Doctrine\DBAL\Event\SchemaAlterTableRemoveColumnEventArgs |
||
| 66 | */ |
||
| 67 | public function addSql($sql) |
||
| 72 | } |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @return string[] |
||
| 76 | */ |
||
| 77 | 486 | public function getSql() |
|
| 82 |