original_string: protected function generateContent($stub, $class)
      {
          $namespace = config('admin.controllers.namespace', 'LaravelAdminPanel\\Http\\Controllers');
  
          $content = str_replace(
              'DummyNamespace',
              $namespace,
              $stub
          );
  
          $content = str_replace(
              'FullBaseDummyClass',
              'LaravelAdminPanel\\Http\\Controllers\\'.$class,
              $content
          );
  
          $content = str_replace(
              'BaseDummyClass',
              'Base'.$class,
              $content
          );
  
          $content = str_replace(
              'DummyClass',
              $class,
              $content
          );
  
          return $content;
      }
code: protected function generateContent($stub, $class)
      {
          $namespace = config('admin.controllers.namespace', 'LaravelAdminPanel\\Http\\Controllers');
  
          $content = str_replace(
              'DummyNamespace',
              $namespace,
              $stub
          );
  
          $content = str_replace(
              'FullBaseDummyClass',
              'LaravelAdminPanel\\Http\\Controllers\\'.$class,
              $content
          );
  
          $content = str_replace(
              'BaseDummyClass',
              'Base'.$class,
              $content
          );
  
          $content = str_replace(
              'DummyClass',
              $class,
              $content
          );
  
          return $content;
      }
code_tokens: protected function generateContent ( $ stub , $ class ) { $ namespace = config ( 'admin.controllers.namespace' , 'LaravelAdminPanel\\Http\\Controllers' ) ; $ content = str_replace ( 'DummyNamespace' , $ namespace , $ stub ) ; $ content = str_replace ( 'FullBaseDummyClass' , 'LaravelAdminPanel\\Http\\Controllers\\' . $ class , $ content ) ; $ content = str_replace ( 'BaseDummyClass' , 'Base' . $ class , $ content ) ; $ content = str_replace ( 'DummyClass' , $ class , $ content ) ; return $ content ; }
docstring: Generate real content from stub.
  
  @param $stub
  @param $class
  
  @return mixed
docstring_tokens: Generate real content from stub .