protected function uninstallEntryFiles(PackageInterface $package)
    {
        foreach ($this->getEntryFileLocations($package) as $dest) {
            $unlinked = $this->filesystem->unlinkFile($dest);

            $this->io->notice(
                sprintf(
                    '    <fg=default>Removing <fg=magenta>%1$s</> -</> %2$s',
                    $dest,
                    $unlinked ? '<fg=green>OK</>' : '<fg=red>FAILED</>'
                )
            );

            if (! $unlinked) {
                throw new RuntimeException('Cannot unlink ' . $dest);
            }
        }
    }
protected function uninstallEntryFiles(PackageInterface $package)
    {
        foreach ($this->getEntryFileLocations($package) as $dest) {
            $unlinked = $this->filesystem->unlinkFile($dest);

            $this->io->notice(
                sprintf(
                    '    <fg=default>Removing <fg=magenta>%1$s</> -</> %2$s',
                    $dest,
                    $unlinked ? '<fg=green>OK</>' : '<fg=red>FAILED</>'
                )
            );

            if (! $unlinked) {
                throw new RuntimeException('Cannot unlink ' . $dest);
            }
        }
    }
protected function uninstallEntryFiles ( PackageInterface $ package ) { foreach ( $ this -> getEntryFileLocations ( $ package ) as $ dest ) { $ unlinked = $ this -> filesystem -> unlinkFile ( $ dest ) ; $ this -> io -> notice ( sprintf ( '    <fg=default>Removing <fg=magenta>%1$s</> -</> %2$s' , $ dest , $ unlinked ? '<fg=green>OK</>' : '<fg=red>FAILED</>' ) ) ; if ( ! $ unlinked ) { throw new RuntimeException ( 'Cannot unlink ' . $ dest ) ; } } }
Uninstall each must-use plugin entry file

@param PackageInterface $package
@return void
Uninstall each must - use plugin entry file