original_string: private function registerGeneratorStubs()
      {
          $this->app->singleton( StubRegistry::class, function( Application $app )
          {
              $stubRegistry = new StubRegistry();
  
              $stubRegistry->registerStubs(
                  $app[ Filesystem::class ],
                  base_path( 'vendor/arbory/arbory/stubs' )
              );
  
              return $stubRegistry;
          } );
      }
code: private function registerGeneratorStubs()
      {
          $this->app->singleton( StubRegistry::class, function( Application $app )
          {
              $stubRegistry = new StubRegistry();
  
              $stubRegistry->registerStubs(
                  $app[ Filesystem::class ],
                  base_path( 'vendor/arbory/arbory/stubs' )
              );
  
              return $stubRegistry;
          } );
      }
code_tokens: private function registerGeneratorStubs ( ) { $ this -> app -> singleton ( StubRegistry :: class , function ( Application $ app ) { $ stubRegistry = new StubRegistry ( ) ; $ stubRegistry -> registerStubs ( $ app [ Filesystem :: class ] , base_path ( 'vendor/arbory/arbory/stubs' ) ) ; return $ stubRegistry ; } ) ; }
docstring: Register stubs used by generators
docstring_tokens: Register stubs used by generators