original_string: protected function getRootNameSpace()
      {
          if (!$namespace = $this->option('namespace')) {
              list($vendor, $name) = explode('/', $this->package);
  
              $default = str_replace(['-', '-'], '', Str::title($vendor).'\\'.Str::title($name));
  
              $namespace = $this->ask('Root namespace', $default);
          }
  
          return $namespace;
      }
code: protected function getRootNameSpace()
      {
          if (!$namespace = $this->option('namespace')) {
              list($vendor, $name) = explode('/', $this->package);
  
              $default = str_replace(['-', '-'], '', Str::title($vendor).'\\'.Str::title($name));
  
              $namespace = $this->ask('Root namespace', $default);
          }
  
          return $namespace;
      }
code_tokens: protected function getRootNameSpace ( ) { if ( ! $ namespace = $ this -> option ( 'namespace' ) ) { list ( $ vendor , $ name ) = explode ( '/' , $ this -> package ) ; $ default = str_replace ( [ '-' , '-' ] , '' , Str :: title ( $ vendor ) . '\\' . Str :: title ( $ name ) ) ; $ namespace = $ this -> ask ( 'Root namespace' , $ default ) ; } return $ namespace ; }
docstring: Get root namespace for this package.
  
  @return array|null|string
docstring_tokens: Get root namespace for this package .