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

getDestinationFilePath() protected method

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