/** * Execute the console command. * * @return mixed */ public function handle() { $wasUpdated = $this->composer->selfUpdate(); if ($wasUpdated) { $this->info('Composer was updated'); $this->comment($this->composer->getVersion()); } else { $this->comment('Composer is already up to date'); } }
/** * Execute the console command. * * @return mixed */ public function handle() { $this->line($this->composer->getVersion()); }