public interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
public function interact(InputInterface $input, OutputInterface $output)
{
$available_art = $this->availableArt();
$io = new SymfonyStyle($input, $output);
$art_name = $input->getArgument('name');
if (!$art_name) {
$io->title('Available Art');
$io->listing($available_art);
}
}