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