Пример #1
0
 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)) {
         Tool::csv($data);
     }
 }
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $data = $this->projectDailySummary->getAggregatedMetrics($input->getArgument('project_id'), $input->getArgument('start_date'), $input->getArgument('end_date'));
     if (is_array($data)) {
         Tool::csv($data);
     }
 }