Add getIO proxy to base Command class
parent
51447074c2
commit
d291d65faf
|
@ -29,4 +29,12 @@ abstract class Command extends BaseCommand
|
|||
{
|
||||
return $this->getApplication()->getComposer($required);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Composer\IO\ConsoleIO
|
||||
*/
|
||||
protected function getIO()
|
||||
{
|
||||
return $this->getApplication()->getIO();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue