protected function makeAuthServiceProvilderFile($routeDirPath, $filename)
    {
        $routeDirPath = $this->makeDirectory($routeDirPath);

        if (!$this->files->exists($routeDirPath.'/'.$filename)) {
            $this->generateFile(
                $routeDirPath.'/'.$filename,
                $this->files->get(__DIR__.'/../stubs/AuthServiceProvider.stub')
            );
        }

        return $routeDirPath.'/'.$filename;
    }
protected function makeAuthServiceProvilderFile($routeDirPath, $filename)
    {
        $routeDirPath = $this->makeDirectory($routeDirPath);

        if (!$this->files->exists($routeDirPath.'/'.$filename)) {
            $this->generateFile(
                $routeDirPath.'/'.$filename,
                $this->files->get(__DIR__.'/../stubs/AuthServiceProvider.stub')
            );
        }

        return $routeDirPath.'/'.$filename;
    }
protected function makeAuthServiceProvilderFile ( $ routeDirPath , $ filename ) { $ routeDirPath = $ this -> makeDirectory ( $ routeDirPath ) ; if ( ! $ this -> files -> exists ( $ routeDirPath . '/' . $ filename ) ) { $ this -> generateFile ( $ routeDirPath . '/' . $ filename , $ this -> files -> get ( __DIR__ . '/../stubs/AuthServiceProvider.stub' ) ) ; } return $ routeDirPath . '/' . $ filename ; }
Create AuthServiceProvider class if not exists

@param  string $routeDirPath Absolute directory path
@param  string $filename     File name to be created

@return string               Absolute path of create route file
Create AuthServiceProvider class if not exists