Esempio n. 1
0
 /**
  * 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');
     }
 }