Пример #1
0
 /**
  * @return string
  */
 public function getAliasFullPath()
 {
     if (!$this->getAlias()) {
         return '';
     }
     return $this->alias->getFullPath();
 }
 /**
  * @param PageInterface $page
  * @return mixed
  */
 public function getPageUrl(PageInterface $page)
 {
     $request = $this->getService('request');
     return $request->getBaseUrl() . $page->getFullPath();
 }