/** * Handle the command. */ public function handle() { $widget = $this->extension->getWidget(); /** * Set the default options handler based * on the extension class. Defaulting to * no handler. */ if (!$widget->getOption('title')) { $widget->setOption('title', $this->extension->getTitle()); } }