public function getUrl($path = null, array $params = array()) { if (!$this->name) { throw new Exceptions\NoNameError(Lang::translate('Object has no name')); } return $this->container->getUrl($this->name); }