private function detailed()
    {
        if (!$this->done && in_array('--detailed-report', $this->params)) {
            $this->done = true;
            $details = $this->getDetailsForUser(!in_array('--open-out', $this->params));
            if ($details !== false) {
                $counterReport = \common_report_Report::createInfo('Detailed report for the user');
                $helper = new ConsoleTableHelper();
                $helper->addHeader(['TestTaker', 'Deliveries', 'Executions']);
                $helper->addRows($details);
                $counterReport->add($helper->generateReport());
                $this->report->add($counterReport);
            }
        }
    }
private function detailed()
    {
        if (!$this->done && in_array('--detailed-report', $this->params)) {
            $this->done = true;
            $details = $this->getDetailsForUser(!in_array('--open-out', $this->params));
            if ($details !== false) {
                $counterReport = \common_report_Report::createInfo('Detailed report for the user');
                $helper = new ConsoleTableHelper();
                $helper->addHeader(['TestTaker', 'Deliveries', 'Executions']);
                $helper->addRows($details);
                $counterReport->add($helper->generateReport());
                $this->report->add($counterReport);
            }
        }
    }
private function detailed ( ) { if ( ! $ this -> done && in_array ( '--detailed-report' , $ this -> params ) ) { $ this -> done = true ; $ details = $ this -> getDetailsForUser ( ! in_array ( '--open-out' , $ this -> params ) ) ; if ( $ details !== false ) { $ counterReport = \ common_report_Report :: createInfo ( 'Detailed report for the user' ) ; $ helper = new ConsoleTableHelper ( ) ; $ helper -> addHeader ( [ 'TestTaker' , 'Deliveries' , 'Executions' ] ) ; $ helper -> addRows ( $ details ) ; $ counterReport -> add ( $ helper -> generateReport ( ) ) ; $ this -> report -> add ( $ counterReport ) ; } } }
Second section with detailed information about the specified user
Second section with detailed information about the specified user