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