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