private function counter()
    {
        if (!$this->done && in_array('--count-deliveries-by-user', $this->params)) {
            $this->done = true;

            $counterReport = \common_report_Report::createInfo('List of Users:');

            $helper = new ConsoleTableHelper();
            $helper->addHeader(['TestTaker', 'Deliveries', 'Executions']);
            $helper->addRows($this->getCountersByUsers(!in_array('--open-out', $this->params)));
            $counterReport->add($helper->generateReport());

            $this->report->add($counterReport);
        }
    }
private function counter()
    {
        if (!$this->done && in_array('--count-deliveries-by-user', $this->params)) {
            $this->done = true;

            $counterReport = \common_report_Report::createInfo('List of Users:');

            $helper = new ConsoleTableHelper();
            $helper->addHeader(['TestTaker', 'Deliveries', 'Executions']);
            $helper->addRows($this->getCountersByUsers(!in_array('--open-out', $this->params)));
            $counterReport->add($helper->generateReport());

            $this->report->add($counterReport);
        }
    }
private function counter ( ) { if ( ! $ this -> done && in_array ( '--count-deliveries-by-user' , $ this -> params ) ) { $ this -> done = true ; $ counterReport = \ common_report_Report :: createInfo ( 'List of Users:' ) ; $ helper = new ConsoleTableHelper ( ) ; $ helper -> addHeader ( [ 'TestTaker' , 'Deliveries' , 'Executions' ] ) ; $ helper -> addRows ( $ this -> getCountersByUsers ( ! in_array ( '--open-out' , $ this -> params ) ) ) ; $ counterReport -> add ( $ helper -> generateReport ( ) ) ; $ this -> report -> add ( $ counterReport ) ; } }
First section with general information about users
First section with general information about users