/** * 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) { return $this->module->getModulePath($slug) . 'Database' . DS . 'Migrations'; }
/** * Get migration directory path. * * @param string $slug * * @return string */ protected function getMigrationPath($slug) { $path = $this->module->getModulePath($slug); return $path . 'Database' . DS . 'Migrations' . DS; }