original_string: public static function packageInConfig(PackageEvent $event)
      {
          self::addJobByOperationType(
              $event->getOperation(),
              function ($package) {
                  return new AddConfig($package);
              },
              function ($package) {
                  return new RemoveConfig($package);
              }
          );
      }
code: public static function packageInConfig(PackageEvent $event)
      {
          self::addJobByOperationType(
              $event->getOperation(),
              function ($package) {
                  return new AddConfig($package);
              },
              function ($package) {
                  return new RemoveConfig($package);
              }
          );
      }
code_tokens: public static function packageInConfig ( PackageEvent $ event ) { self :: addJobByOperationType ( $ event -> getOperation ( ) , function ( $ package ) { return new AddConfig ( $ package ) ; } , function ( $ package ) { return new RemoveConfig ( $ package ) ; } ) ; }
docstring: Add or remove packages in config.
  
  @param PackageEvent $event
docstring_tokens: Add or remove packages in config .