code: protected function executeTask($task, InputInterface $input, OutputInterface $output, $data)
      {
          $this->doPreExecuteTask($task, $input, $output, $data);
          $return = $task->setData($data)->run($input, $output);
          $this->doPostExecuteTask($task, $input, $output, $data, $return);
          return $task->isSuccessful();
      }
docs: Execute tasks.
  
  @param In2pire\Cli\Task\BaseTask
  Task.
  @param InputInterface $input
  Input.
  @param OutputInterface $output
  Output.
  @param array $data
  Prepared data.
  
  @return boolean
  True or False.