Nwidart\Modules\Commands\GenerateJobCommand::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());
        $jobPath = $this->laravel['modules']->config('paths.generator.jobs');
        return $path . $jobPath . '/' . $this->getFileName() . '.php';
    }