/** * Get destination path. * * @return string */ public function getDestinationPath() { if ($this->path) { return $this->path; } return $this->repository->getModulePath($this->getModuleName()); }
/** * Get module path for a specific module. * * @param $module * @return string * @static */ public static function getModulePath($module) { return \YCMS\Modules\Repository::getModulePath($module); }