protected function cleanupVendors(Storage $storage)
    {
        $this->outputLine();
        $this->outputLine('Cleanup vendors ...');
        $this->outputLine('-------------------');
        $count = $this->importer->cleanupVendors($storage, function (NodeInterface $vendor) {
            $this->outputLine(sprintf('%s deleted', $vendor->getLabel()));
        });
        if ($count > 0) {
            $this->outputLine(sprintf('  Deleted %d vendor(s)', $count));
        }
    }
protected function cleanupVendors(Storage $storage)
    {
        $this->outputLine();
        $this->outputLine('Cleanup vendors ...');
        $this->outputLine('-------------------');
        $count = $this->importer->cleanupVendors($storage, function (NodeInterface $vendor) {
            $this->outputLine(sprintf('%s deleted', $vendor->getLabel()));
        });
        if ($count > 0) {
            $this->outputLine(sprintf('  Deleted %d vendor(s)', $count));
        }
    }
protected function cleanupVendors ( Storage $ storage ) { $ this -> outputLine ( ) ; $ this -> outputLine ( 'Cleanup vendors ...' ) ; $ this -> outputLine ( '-------------------' ) ; $ count = $ this -> importer -> cleanupVendors ( $ storage , function ( NodeInterface $ vendor ) { $ this -> outputLine ( sprintf ( '%s deleted' , $ vendor -> getLabel ( ) ) ) ; } ) ; if ( $ count > 0 ) { $ this -> outputLine ( sprintf ( '  Deleted %d vendor(s)' , $ count ) ) ; } }
Remove vendors that don't exist on Packagist or contains no packages

@param Storage $storage
Remove vendors that don t exist on Packagist or contains no packages