Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | final class MigrationsEventArgs extends EventArgs |
||
16 | { |
||
17 | /** @var Connection */ |
||
18 | private $connection; |
||
19 | |||
20 | /** @var MigrationPlanList */ |
||
21 | private $plan; |
||
22 | |||
23 | /** @var MigratorConfiguration */ |
||
24 | private $migratorConfiguration; |
||
25 | |||
26 | 7 | public function __construct( |
|
27 | Connection $connection, |
||
28 | MigrationPlanList $plan, |
||
29 | MigratorConfiguration $migratorConfiguration |
||
30 | ) { |
||
31 | 7 | $this->connection = $connection; |
|
32 | 7 | $this->plan = $plan; |
|
33 | 7 | $this->migratorConfiguration = $migratorConfiguration; |
|
34 | 7 | } |
|
35 | |||
36 | 4 | public function getConnection() : Connection |
|
39 | } |
||
40 | |||
41 | 1 | public function getPlan() : MigrationPlanList |
|
44 | } |
||
45 | |||
46 | 4 | public function getMigratorConfiguration() : MigratorConfiguration |
|
51 |