public function cleanWordPressInstallation(PackageEvent $event)
    {
        if ($this->getPackageName($event) != 'johnpbloch/wordpress') {
            return;
        }
        
        static::$plugin->getInstanceOf(WordPressInstallationCleaner::class)->clean($event->getComposer(), $event->getIO());
    }
public function cleanWordPressInstallation(PackageEvent $event)
    {
        if ($this->getPackageName($event) != 'johnpbloch/wordpress') {
            return;
        }
        
        static::$plugin->getInstanceOf(WordPressInstallationCleaner::class)->clean($event->getComposer(), $event->getIO());
    }
public function cleanWordPressInstallation ( PackageEvent $ event ) { if ( $ this -> getPackageName ( $ event ) != 'johnpbloch/wordpress' ) { return ; } static :: $ plugin -> getInstanceOf ( WordPressInstallationCleaner :: class ) -> clean ( $ event -> getComposer ( ) , $ event -> getIO ( ) ) ; }
Clean the WordPress installation.

@param  \Composer\Installer\PackageEvent $event
@return void
Clean the WordPress installation .