public function lookup($url, $languageCode = null)
{
$url = $this->cleanUrl($url);
$spiUrlAlias = $this->urlAliasHandler->lookup($url);
list($path, $languageCodes) = $this->matchPath($spiUrlAlias, $url, $languageCode);
if ($path === false || !$this->isPathLoadable($spiUrlAlias->pathData, $languageCodes)) {
throw new NotFoundException('URLAlias', $url);
}
return $this->buildUrlAliasDomainObject($spiUrlAlias, $path);
}