Nwidart\Modules\Commands\GenerateRouteProviderCommand::getDestinationFilePath PHP Méthode

getDestinationFilePath() protected méthode

Get the destination file path.
protected getDestinationFilePath ( ) : string
Résultat string
    protected function getDestinationFilePath()
    {
        $path = $this->laravel['modules']->getModulePath($this->getModuleName());
        $generatorPath = $this->laravel['modules']->config('paths.generator.provider');
        return $path . $generatorPath . '/' . $this->getFileName() . '.php';
    }