1
0
Fork 0

Add getIO proxy to base Command class

pull/473/head
Jordi Boggiano 2012-03-18 21:01:59 +01:00
parent 51447074c2
commit d291d65faf
1 changed files with 8 additions and 0 deletions

View File

@ -29,4 +29,12 @@ abstract class Command extends BaseCommand
{ {
return $this->getApplication()->getComposer($required); return $this->getApplication()->getComposer($required);
} }
/**
* @return \Composer\IO\ConsoleIO
*/
protected function getIO()
{
return $this->getApplication()->getIO();
}
} }