/** * 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(); }