Command/StatisticsCommand.php
protected function interact(InputInterface $input, OutputInterface $output)
    {
        if (!$input->getArgument('pool')) {
            $pool = (new InteractHelper())->askForPool($this, $input, $output);
            $input->setArgument('pool', $pool);
        }
    }
protected function interact(InputInterface $input, OutputInterface $output)
    {
        if (!$input->getArgument('pool')) {
            $pool = (new InteractHelper())->askForPool($this, $input, $output);
            $input->setArgument('pool', $pool);
        }
    }
protected function interact ( InputInterface $ input , OutputInterface $ output ) { if ( ! $ input -> getArgument ( 'pool' ) ) { $ pool = ( new InteractHelper ( ) ) -> askForPool ( $ this , $ input , $ output ) ; $ input -> setArgument ( 'pool' , $ pool ) ; } }
Choose the pool

@param InputInterface  $input  Input interface
@param OutputInterface $output Output interface

@see Command
@return mixed
Choose the pool