Nwidart\Modules\Commands\GenerateJobCommand::getDestinationFilePath PHP Method

getDestinationFilePath() protected method

Get the destination file path.
protected getDestinationFilePath ( ) : string
return 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';
    }