Back to AddUserCommand class

Method configureIO

private void
configureIO
(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output)
Configure the IO.
Parameters
  • \Symfony\Component\Console\Input\InputInterface $input The input to inject into the command.
  • \Symfony\Component\Console\Output\OutputInterface $output The output to inject into the command.
Returns
  • void
Since
  • 4.0.0

Method configureIO - Source code

/**
 * Configure the IO.
 *
 * @param   InputInterface   $input   The input to inject into the command.
 * @param   OutputInterface  $output  The output to inject into the command.
 *
 * @return  void
 *
 * @since   4.0.0
 */
private function configureIO(InputInterface $input, OutputInterface $output)
{
    $this->cliInput = $input;
    $this->ioStyle = new SymfonyStyle($input, $output);
}