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;
    }
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;
    }
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 ; }
Create path for file.

@param Filesystem $filesystem
@param string     $type       File type.

@return string
Create path for file .