Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Neos
Neos
Domain
Service
DomainMatchingStrategy
PHP Class Neos\Neos\Domain\Service\DomainMatchingStrategy
Mostra file
Open project: neos/neos-development-collection
Class Usage Examples
Public Methods
Method
Description
getSortedMatches
(
string
$hostnameToMatch
,
array
$domains
) :
array
Returns those of the given domains which match the specified hostname.
Method Details
getSortedMatches()
public
method
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
return
array
The matching domains