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

@param PackageEvent $event
Add or remove packages in config .