/**
  * Execute the console command.
  *
  * @param  \Orchestra\Extension\Processor\Activator  $activator
  *
  * @return void
  */
 public function handle(Processor $activator)
 {
     if (!$this->confirmToProceed()) {
         return;
     }
     return $activator->activate($this, new Fluent(['name' => $this->argument('name')]));
 }
 /**
  * Activate an extension.
  *
  * GET (:orchestra)/extensions/activate/(:name)
  *
  * @param  \Orchestra\Extension\Processor\Activator  $activator
  * @param  string  $vendor
  * @param  string|null  $package
  *
  * @return mixed
  */
 public function activate(ActivatorProcessor $activator, $vendor, $package = null)
 {
     return $activator->activate($this, $this->getExtension($vendor, $package));
 }