Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Neos
Neos
Domain
Service
DomainMatchingStrategy
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