コード例 #1
0
 /**
  * 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();
 }
コード例 #2
0
 /**
  * Get module migration path.
  *
  * @return string
  */
 protected function getPath()
 {
     $path = $this->pluggable->getPluggablePath($this->pluggableName);
     return $path . 'Database/Migrations/';
 }