public static function getConfig(PackageEvent $event)
    {
        foreach ($event->getComposer()->getPluginManager()->getPlugins() as $plugin) {
            if ($plugin instanceof FxpAssetPlugin) {
                return $plugin->getConfig();
            }
        }

        throw new \RuntimeException('The fxp composer asset plugin is not found');
    }
public static function getConfig(PackageEvent $event)
    {
        foreach ($event->getComposer()->getPluginManager()->getPlugins() as $plugin) {
            if ($plugin instanceof FxpAssetPlugin) {
                return $plugin->getConfig();
            }
        }

        throw new \RuntimeException('The fxp composer asset plugin is not found');
    }
public static function getConfig ( PackageEvent $ event ) { foreach ( $ event -> getComposer ( ) -> getPluginManager ( ) -> getPlugins ( ) as $ plugin ) { if ( $ plugin instanceof FxpAssetPlugin ) { return $ plugin -> getConfig ( ) ; } } throw new \ RuntimeException ( 'The fxp composer asset plugin is not found' ) ; }
Get the plugin config.

@param PackageEvent $event

@return Config
Get the plugin config .