| Total Complexity | 2 | 
| Total Lines | 22 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 7 | class MigrationRunning | ||
| 8 | { | ||
| 9 | use SerializesModels; | ||
| 10 | |||
| 11 | /** @var ElasticsearchMigration */ | ||
| 12 | private $migration; | ||
| 13 | |||
| 14 | /** | ||
| 15 | * MigrationRunning constructor. | ||
| 16 | * @param ElasticsearchMigration $migration | ||
| 17 | */ | ||
| 18 | public function __construct(ElasticsearchMigration $migration) | ||
| 19 |     { | ||
| 20 | $this->migration = $migration; | ||
| 21 | } | ||
| 22 | |||
| 23 | /** | ||
| 24 | * @return ElasticsearchMigration | ||
| 25 | */ | ||
| 26 | public function getMigration(): ElasticsearchMigration | ||
| 27 |     { | ||
| 28 | return $this->migration; | ||
| 29 | } | ||
| 31 |