private function logAfterParsingAllFiles()
    {
        if (!$this->stopwatch) {
            return;
        }

        $event = $this->stopwatch->stop('parser.parse');

        $this->log('Elapsed time to parse all files: ' . round($event->getDuration() / 1000, 2) . 's');
        $this->log('Peak memory usage: ' . round($event->getMemory() / 1024 / 1024, 2) . 'M');
    }
private function logAfterParsingAllFiles()
    {
        if (!$this->stopwatch) {
            return;
        }

        $event = $this->stopwatch->stop('parser.parse');

        $this->log('Elapsed time to parse all files: ' . round($event->getDuration() / 1000, 2) . 's');
        $this->log('Peak memory usage: ' . round($event->getMemory() / 1024 / 1024, 2) . 'M');
    }
private function logAfterParsingAllFiles ( ) { if ( ! $ this -> stopwatch ) { return ; } $ event = $ this -> stopwatch -> stop ( 'parser.parse' ) ; $ this -> log ( 'Elapsed time to parse all files: ' . round ( $ event -> getDuration ( ) / 1000 , 2 ) . 's' ) ; $ this -> log ( 'Peak memory usage: ' . round ( $ event -> getMemory ( ) / 1024 / 1024 , 2 ) . 'M' ) ; }
Writes the complete parsing cycle to log.
Writes the complete parsing cycle to log .