Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Neos
Neos
Domain
Service
DomainMatchingStrategy
PHP Class Neos\Neos\Domain\Service\DomainMatchingStrategy
Afficher le fichier
Open project: neos/neos-development-collection
Class Usage Examples
Méthodes publiques
Méthode
Description
getSortedMatches
(
string
$hostnameToMatch
,
array
$domains
) :
array
Returns those of the given domains which match the specified hostname.
Method Details
getSortedMatches()
public
méthode
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
Résultat
array
The matching domains