protected function execute(InputInterface $input, OutputInterface $output) { $data = $this->transition->export($input->getArgument('project_id'), $input->getArgument('start_date'), $input->getArgument('end_date')); if (is_array($data)) { Csv::output($data); } }
protected function execute(InputInterface $input, OutputInterface $output) { $data = $this->projectDailyColumnStats->getAggregatedMetrics($input->getArgument('project_id'), $input->getArgument('start_date'), $input->getArgument('end_date')); if (is_array($data)) { Csv::output($data); } }