private function askForSpecificResources(InputInterface $input, OutputInterface $output) {
        $resources = Resource::getAllResources();
        sort($resources);

        $question = new ChoiceQuestion(
            'Which resources should the public key have access to? (comma-separated) ',
            $resources
        );
        $question->setMultiselect(true);

        return $this->getHelper('question')->ask($input, $output, $question);
    }
private function askForSpecificResources(InputInterface $input, OutputInterface $output) {
        $resources = Resource::getAllResources();
        sort($resources);

        $question = new ChoiceQuestion(
            'Which resources should the public key have access to? (comma-separated) ',
            $resources
        );
        $question->setMultiselect(true);

        return $this->getHelper('question')->ask($input, $output, $question);
    }
private function askForSpecificResources ( InputInterface $ input , OutputInterface $ output ) { $ resources = Resource :: getAllResources ( ) ; sort ( $ resources ) ; $ question = new ChoiceQuestion ( 'Which resources should the public key have access to? (comma-separated) ' , $ resources ) ; $ question -> setMultiselect ( true ) ; return $ this -> getHelper ( 'question' ) -> ask ( $ input , $ output , $ question ) ; }
Ask user which specific resources the public key should have access to

@param  InputInterface  $input
@param  OutputInterface $output
@return array
Ask user which specific resources the public key should have access to