N98\Magento\Command\Developer\Module\UpdateCommand::askLayoutUpdatesOptions PHP Method

askLayoutUpdatesOptions() protected method

Asks for layout updates node options
protected askLayoutUpdatesOptions ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface
    protected function askLayoutUpdatesOptions(OutputInterface $output)
    {
        $this->initLayoutUpdatesConfigNodes();
        $dialog = $this->getDialog();
        $area = trim($dialog->ask($output, '<question>Area (frontend|adminhtml):</question>'));
        $module = trim($dialog->ask($output, '<question>Module:</question>'));
        $file = trim($dialog->ask($output, '<question>File:</question>'));
        if ($area != 'frontend' && $area != 'adminhtml') {
            throw new RuntimeException('Layout updates area must be either "frontend" or "adminhtml"');
        }
        $this->configNodes['layout_updates_area'] = $area;
        $this->configNodes['layout_update_module'] = $module;
        $this->configNodes['layout_update_file'] = $file;
    }