예제 #1
0
 /**
  * Get the path to the module.
  *
  * @param  string $slug
  * @return string
  */
 protected function getModulePath($slug = null, $allowNotExists = false)
 {
     if ($slug) {
         return $this->module->getModulePath($slug, $allowNotExists);
     }
     return $this->module->getPath();
 }
 /**
  * Get migrations path.
  *
  * @return string
  */
 protected function getMigrationPath($slug)
 {
     $path = $this->module->getModulePath($slug) . 'Database/Migrations';
     return $path;
 }