public function getPath() { $config = $this->module->get('migration'); $path = is_array($config) && array_key_exists('path', $config) ? $config['path'] : config('modules.paths.generator.migration'); return $this->module->getExtraPath($path); }
/** * Get source path. * * @return string */ public function getSourcePath() { return $this->migrator->getPath(); }