original_string: public static function migratePackage(PackageEvent $event)
      {
          self::addJobByOperationType(
              $event->getOperation(),
              function ($package) {
                  return new UpMigrate($package);
              },
              function ($package) {
                  return new DownMigrate($package);
              }
          );
      }
code: public static function migratePackage(PackageEvent $event)
      {
          self::addJobByOperationType(
              $event->getOperation(),
              function ($package) {
                  return new UpMigrate($package);
              },
              function ($package) {
                  return new DownMigrate($package);
              }
          );
      }
code_tokens: public static function migratePackage ( PackageEvent $ event ) { self :: addJobByOperationType ( $ event -> getOperation ( ) , function ( $ package ) { return new UpMigrate ( $ package ) ; } , function ( $ package ) { return new DownMigrate ( $ package ) ; } ) ; }
docstring: Migrate packages.
  
  @param PackageEvent $event
docstring_tokens: Migrate packages .