예제 #1
0
 /**
  * Get migration path for specific module.
  *
  * @param  \Musaid\Modules\Module $module
  * @return string
  */
 protected function getPath($module)
 {
     $path = $module->getExtraPath(config('modules.paths.generator.migration'));
     return str_replace(base_path(), '', $path);
 }
예제 #2
0
파일: Migrator.php 프로젝트: musaid/modules
 /**
  * Get migration path.
  *
  * @return string
  */
 public function getPath()
 {
     return $this->module->getExtraPath(config('modules.paths.generator.migration'));
 }