File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -78,18 +78,19 @@ private function loadSchema()
7878    private  function  loadNaming ()
7979    {
8080        $ this  ->info ('Load Naming Classes ' );
81-         $ progressBar  = $ this  ->output ->createProgressBar (count (config ('webfactor.generators.naming ' )));
8281
83-         foreach  (config ('webfactor.generators.naming ' ) as  $ key  => $ naming ) {
84-             $ progressBar ->advance ();
85-             $ this  ->info (' Naming Class:  '  . $ naming );
82+         $ namingClasses  = config ('webfactor.generators.naming ' );
83+         $ count  = count ($ namingClasses );
84+         $ counter  = 0 ;
85+ 
86+         foreach  ($ namingClasses  as  $ key  => $ naming ) {
87+             $ this  ->info (++$ counter  . '/ '  . $ count  . ' Naming Class:  '  . $ naming , 'v ' );
8688
8789            $ namingObject  = new  $ naming ($ this  ->entity );
8890            $ this  ->naming [$ key ] = $ namingObject ;
8991        }
9092
91-         $ progressBar ->finish ();
92-         $ this  ->info (' Naming Classes loaded ' );
93+         $ this  ->info ('Naming Classes loaded ' );
9394        $ this  ->line ('' );
9495    }
9596
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments