Sulu\Component\Webspace\Manager\WebspaceManager::findPortalInformationsByPortalKeyAndLocale PHP Метод

findPortalInformationsByPortalKeyAndLocale() публичный Метод

public findPortalInformationsByPortalKeyAndLocale ( $portalKey, $locale, $environment )
    public function findPortalInformationsByPortalKeyAndLocale($portalKey, $locale, $environment)
    {
        return array_filter($this->getWebspaceCollection()->getPortalInformations($environment), function (PortalInformation $portalInformation) use($portalKey, $locale) {
            return $portalInformation->getPortal() && $portalInformation->getPortal()->getKey() === $portalKey && $portalInformation->getLocale() === $locale;
        });
    }