/** * translates an url to an existing uri resource based on the * source/destination patterns of the url wildcard. If the resulting * url is an alias it will be translated to the system uri. * * This method runs also configured url translations and filter * * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException if the url could not be translated * * @param mixed $url * * @return \eZ\Publish\API\Repository\Values\Content\URLWildcardTranslationResult */ public function translate($url) { $returnValue = $this->service->translate($url); $this->signalDispatcher->emit(new TranslateSignal(array('url' => $url))); return $returnValue; }