/** * Get the path to the pluggable. * * @param string $slug * * @return string */ protected function getPluggablePath($slug = null, $allowNotExists = false) { if ($slug) { return $this->pluggable->getPluggablePath($slug, $allowNotExists); } return $this->pluggable->getPath(); }
/** * Get module migration path. * * @return string */ protected function getPath() { $path = $this->pluggable->getPluggablePath($this->pluggableName); return $path . 'Database/Migrations/'; }