public static function migratePackage(PackageEvent $event)
    {
        self::addJobByOperationType(
            $event->getOperation(),
            function ($package) {
                return new UpMigrate($package);
            },
            function ($package) {
                return new DownMigrate($package);
            }
        );
    }
public static function migratePackage(PackageEvent $event)
    {
        self::addJobByOperationType(
            $event->getOperation(),
            function ($package) {
                return new UpMigrate($package);
            },
            function ($package) {
                return new DownMigrate($package);
            }
        );
    }
public static function migratePackage ( PackageEvent $ event ) { self :: addJobByOperationType ( $ event -> getOperation ( ) , function ( $ package ) { return new UpMigrate ( $ package ) ; } , function ( $ package ) { return new DownMigrate ( $ package ) ; } ) ; }
Migrate packages.

@param PackageEvent $event
Migrate packages .