protected function printReport()
    {
        $this->line(' --- ');
        if( !$this->errorOccurred() ) {
            $this->info('0 errors encountered.');
        } else {
            $this->error( count($this->messages->get('error')) .' error(s) encountered' );
            foreach( $this->messages->get('error') as $error ) {
                $this->error( $error );
            }
        }
    }