| 1 |
<?php |
| 2 |
|
| 3 |
namespace Yatra\Migration; |
| 4 |
|
| 5 |
use Yatra\Migration\MigrationProgress; |
| 6 |
|
| 7 |
class DestinationMigration extends BaseMigration |
| 8 |
{ |
| 9 |
public function __construct(MigrationProgress $service) |
| 10 |
{ |
| 11 |
parent::__construct($service); |
| 12 |
} |
| 13 |
|
| 14 |
public function run(): array |
| 15 |
{ |
| 16 |
return $this->migrateTaxonomy('destination', 'destination', 'destinations'); |
| 17 |
} |
| 18 |
} |
| 19 |
|