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

getDestinationFilePath() protected method

protected getDestinationFilePath ( ) : mixed
return mixed
    protected function getDestinationFilePath()
    {
        $path = $this->laravel['modules']->getModulePath($this->getModuleName());
        $seederPath = $this->laravel['modules']->config('paths.generator.model');
        return $path . $seederPath . '/' . $this->getModelName() . '.php';
    }