PHP 클래스 Neos\Neos\Domain\Service\DomainMatchingStrategy

파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

공개 메소드들

메소드 설명
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