Total Complexity | 4 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class Version020307Date20200704185352 extends SimpleMigrationStep |
||
17 | { |
||
18 | |||
19 | /** @var IDBConnection */ |
||
20 | private $connection; |
||
21 | |||
22 | public function __construct(IDBConnection $connection) |
||
23 | { |
||
24 | $this->connection = $connection; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param IOutput $output |
||
29 | * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
||
30 | * @param array $options |
||
31 | */ |
||
32 | public function preSchemaChange(IOutput $output, Closure $schemaClosure, array $options) |
||
33 | { |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param IOutput $output |
||
38 | * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
||
39 | * @param array $options |
||
40 | * @return null|ISchemaWrapper |
||
41 | */ |
||
42 | public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * @param IOutput $output |
||
58 | * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
||
59 | * @param array $options |
||
60 | */ |
||
61 | public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options) |
||
63 | } |
||
64 | } |
||
65 |