You are here

protected function CommandBase::setupIo in Apigee Edge 8

Sets up the IO interface.

Parameters

\Symfony\Component\Console\Input\InputInterface $input: The input interface.

\Symfony\Component\Console\Output\OutputInterface $output: The output interface.

3 calls to CommandBase::setupIo()
CreateEdgeRoleCommand::execute in src/Command/CreateEdgeRoleCommand.php
CreateEdgeRoleCommand::interact in src/Command/CreateEdgeRoleCommand.php
DeveloperSyncCommand::execute in src/Command/DeveloperSyncCommand.php

File

src/Command/CommandBase.php, line 93

Class

CommandBase
Class CommandBase for shared functionality.

Namespace

Drupal\apigee_edge\Command

Code

protected function setupIo(InputInterface $input, OutputInterface $output) {
  $this->io = new DrupalStyle($input, $output);
  $this
    ->setupLogger($output);
}