protected function createTask()
    {
        $task = \call_user_func_array(['parent', 'task'], \func_get_args());
        $task->setInput($this->input());
        $task->setOutput($this->output());

        return $task;
    }