PHP Класс Neos\Neos\Domain\Service\DomainMatchingStrategy

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getSortedMatches ( string $hostnameToMatch, array $domains ) : array Returns those of the given domains which match the specified hostname.

Описание методов

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

The domains are sorted by their match exactness. If none really matches an empty array is returned.
public getSortedMatches ( string $hostnameToMatch, array $domains ) : array
$hostnameToMatch string The hostname to match against (eg. "localhost" or "www.neos.io")
$domains array
Результат array The matching domains