protected function setPlatformOptions(InputInterface $input, OutputInterface $output)
    {
        $platform = ProjectX::getPlatformType();

        if (!$platform instanceof NullPlatformType
            && $platform instanceof OptionFormAwareInterface) {
            $classname = get_class($platform);
            $command_io = new SymfonyStyle($input, $output);
            $command_io->newLine(2);
            $command_io->title(sprintf('%s Platform Options', $classname::getLabel()));

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

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

        return $this;
    }
protected function setPlatformOptions(InputInterface $input, OutputInterface $output)
    {
        $platform = ProjectX::getPlatformType();

        if (!$platform instanceof NullPlatformType
            && $platform instanceof OptionFormAwareInterface) {
            $classname = get_class($platform);
            $command_io = new SymfonyStyle($input, $output);
            $command_io->newLine(2);
            $command_io->title(sprintf('%s Platform Options', $classname::getLabel()));

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

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

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

@param InputInterface $input
@param OutputInterface $output

@return Initialize
Set project platform options .