/** * 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 module migration path. * * @return string */ protected function getPath() { $path = $this->module->getModulePath($this->moduleName); return $path . 'Http/Controllers/'; }
/** * Get migrations path. * * @return string */ protected function getMigrationPath($slug) { $path = $this->module->getModulePath($slug) . 'Database/Migrations'; return $path; }
/** * Get module migration path. * * @return string */ protected function getPath() { $path = $this->module->getModulePath($this->moduleName); return $path . 'Http/Requests/'; }
/** * Get module migration path. * * @return string */ protected function getPath() { $path = $this->module->getModulePath($this->moduleName); return $path . 'Database/Migrations/'; }