|
@@ -68,6 +68,15 @@ abstract class Command extends BaseCommand
|
|
|
$this->composer = $composer;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Removes the cached composer instance
|
|
|
+ */
|
|
|
+ public function resetComposer()
|
|
|
+ {
|
|
|
+ $this->composer = null;
|
|
|
+ $this->getApplication()->resetComposer();
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* @return IOInterface
|
|
|
*/
|