PHP 클래스 Neos\Flow\Security\RequestPattern\Host
Example: *.neos.io will match "flow.neos.io" and "www.neos.io", but not "neos.io"
www.mydomain.* will match all TLDs of www.mydomain, but not "blog.mydomain.net" or "mydomain.com"
파일 보기
프로젝트 열기: neos/flow-development-collection
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
메소드 |
설명 |
|
__construct ( array $options ) |
Expects options in the form array('hostPattern' => '') |
|
matchRequest ( Neos\Flow\Mvc\RequestInterface $request ) : boolean |
Matches a \Neos\Flow\Mvc\RequestInterface against its set host pattern rules |
|
setPattern ( string $hostPattern ) : void |
|
|
메소드 상세
Expects options in the form array('hostPattern' => '')
Matches a \Neos\Flow\Mvc\RequestInterface against its set host pattern rules
public matchRequest ( Neos\Flow\Mvc\RequestInterface $request ) : boolean |
$request |
Neos\Flow\Mvc\RequestInterface |
The request that should be matched |
리턴 |
boolean |
TRUE if the pattern matched, FALSE otherwise |
프로퍼티 상세
protected array $options |
리턴 |
array |
|