public function getHelper($name)
{
$helper = parent::getHelper($name);
if ($this->input !== null && $helper instanceof InputAwareInterface) {
$helper->setInput($this->input);
}
if ($this->output !== null && $helper instanceof OutputAwareInterface) {
$helper->setOutput($this->output);
}
return $helper;
}