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 );
            }
        }
    }
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 );
            }
        }
    }
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 ) ; } } }
Print a concise report describing if and which errors have occurred during the execution of the artisan command
Print a concise report describing if and which errors have occurred during the execution of the artisan command