setName('export:allsubtaskstimetracking') ->setDescription('Subtasks Time Tracking CSV export for all events'); } protected function execute(InputInterface $input, OutputInterface $output) { $data = $this->subtaskTimeTrackingExport->exportAll(); if (is_array($data)) { Html::output($data); } } }