/**
* @param Page $page
*/
private function removePageUrl(Page $page)
{
/** @var Url $url */
$url = $this->urlFacade->getByPath($page->getUrlPath());
if ($url !== null) {
$this->cache->clean([Cache::TAGS => $url->getCacheKey()]);
$this->em->remove($url);
}
}