original_string: protected function createPath(Filesystem $filesystem, $type)
      {
          $customPath = $this->option('path');
  
          $defaultPath = config("vue-generators.paths.{$type}s");
  
          $path = $customPath !== null ? $customPath : $defaultPath;
  
          $this->buildPathFromArray($path, $filesystem);
  
          return $path;
      }
code: protected function createPath(Filesystem $filesystem, $type)
      {
          $customPath = $this->option('path');
  
          $defaultPath = config("vue-generators.paths.{$type}s");
  
          $path = $customPath !== null ? $customPath : $defaultPath;
  
          $this->buildPathFromArray($path, $filesystem);
  
          return $path;
      }
code_tokens: protected function createPath ( Filesystem $ filesystem , $ type ) { $ customPath = $ this -> option ( 'path' ) ; $ defaultPath = config ( "vue-generators.paths.{$type}s" ) ; $ path = $ customPath !== null ? $ customPath : $ defaultPath ; $ this -> buildPathFromArray ( $ path , $ filesystem ) ; return $ path ; }
docstring: Create path for file.
  
  @param Filesystem $filesystem
  @param string     $type       File type.
  
  @return string
docstring_tokens: Create path for file .