code: protected function replaceApplicationNamespace(&$stub)
      {
          $namespace = rtrim($this->laravel->getNamespace(), '\\');
          $stub = str_replace('DummyApplicationNamespace', $namespace, $stub);
  
          return $this;
      }
docs: Replace the value of the application namespace.
  
  @param $stub
  @return $this