/** * Get migration directory path. * * @param string $module * * @return string */ protected function getMigrationPath($module) { return moduly()->getModulePath($module) . config('moduly.modules.folders.migrations'); }
/** * Get generated provider * * @return string */ private function getGeneratedProvider() { $package = studly_case($this->name); return implode('\\', [moduly()->getNamespace() . $package, "{$package}ServiceProvider"]); }