protected function setProjectOptions(InputInterface $input, OutputInterface $output)
    {
        $project = ProjectX::getProjectType();

        if ($project instanceof OptionFormAwareInterface) {
            $classname = get_class($project);

            $command_io = new SymfonyStyle($input, $output);
            $command_io->newLine(2);
            $command_io->title(sprintf('%s Project Options', $classname::getLabel()));

            $form = $project->optionForm();
            $form
                ->setInput($input)
                ->setOutput($output)
                ->setHelperSet($this->getHelperSet())
                ->process();

            $this->options[$classname::getTypeId()] = $form->getResults();
        }

        return $this;
    }
protected function setProjectOptions(InputInterface $input, OutputInterface $output)
    {
        $project = ProjectX::getProjectType();

        if ($project instanceof OptionFormAwareInterface) {
            $classname = get_class($project);

            $command_io = new SymfonyStyle($input, $output);
            $command_io->newLine(2);
            $command_io->title(sprintf('%s Project Options', $classname::getLabel()));

            $form = $project->optionForm();
            $form
                ->setInput($input)
                ->setOutput($output)
                ->setHelperSet($this->getHelperSet())
                ->process();

            $this->options[$classname::getTypeId()] = $form->getResults();
        }

        return $this;
    }
protected function setProjectOptions ( InputInterface $ input , OutputInterface $ output ) { $ project = ProjectX :: getProjectType ( ) ; if ( $ project instanceof OptionFormAwareInterface ) { $ classname = get_class ( $ project ) ; $ command_io = new SymfonyStyle ( $ input , $ output ) ; $ command_io -> newLine ( 2 ) ; $ command_io -> title ( sprintf ( '%s Project Options' , $ classname :: getLabel ( ) ) ) ; $ form = $ project -> optionForm ( ) ; $ form -> setInput ( $ input ) -> setOutput ( $ output ) -> setHelperSet ( $ this -> getHelperSet ( ) ) -> process ( ) ; $ this -> options [ $ classname :: getTypeId ( ) ] = $ form -> getResults ( ) ; } return $ this ; }
Set project options.

@param InputInterface $input
@param OutputInterface $output

@return $this
Set project options .