public function findPortalInformationsByUrl($url, $environment)
{
return array_filter($this->getWebspaceCollection()->getPortalInformations($environment), function (PortalInformation $portalInformation) use($url) {
return $this->matchUrl($url, $portalInformation->getUrl());
});
}