Пример #1
0
 /**
  * Get destination path.
  *
  * @return string
  */
 public function getDestinationPath()
 {
     if ($this->path) {
         return $this->path;
     }
     return $this->repository->getModulePath($this->getModuleName());
 }
Пример #2
0
 /**
  * Get module path for a specific module.
  *
  * @param $module
  * @return string 
  * @static 
  */
 public static function getModulePath($module)
 {
     return \Pingpong\Modules\Repository::getModulePath($module);
 }