12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- declare(strict_types=1);
- namespace OCP\DB\Events;
- class AddMissingColumnsEvent extends \OCP\EventDispatcher\Event {
-
- private array $missingColumns = [];
-
- public function addMissingColumn(string $tableName, string $columnName, string $typeName, array $options): void {
- $this->missingColumns[] = [
- 'tableName' => $tableName,
- 'columnName' => $columnName,
- 'typeName' => $typeName,
- 'options' => $options,
- ];
- }
-
- public function getMissingColumns(): array {
- return $this->missingColumns;
- }
- }
|