src/BinCommand.php
private function resetComposers(ComposerApplication $application)
    {
        $application->resetComposer();
        foreach ($this->getApplication()->all() as $command) {
            if ($command instanceof BaseCommand) {
                $command->resetComposer();
            }
        }
    }
private function resetComposers(ComposerApplication $application)
    {
        $application->resetComposer();
        foreach ($this->getApplication()->all() as $command) {
            if ($command instanceof BaseCommand) {
                $command->resetComposer();
            }
        }
    }
private function resetComposers ( ComposerApplication $ application ) { $ application -> resetComposer ( ) ; foreach ( $ this -> getApplication ( ) -> all ( ) as $ command ) { if ( $ command instanceof BaseCommand ) { $ command -> resetComposer ( ) ; } } }
Resets all Composer references in the application.

@param ComposerApplication $application
Resets all Composer references in the application .