Host
class Host implements RequestPatternInterface (View source)
This class holds a host URI pattern and decides, if an ActionRequest object matches against this pattern Note: the pattern is a simple wildcard matching pattern, with * as the wildcard character.
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"
Properties
protected array | $options |
Methods
__construct(array $options)
Expects options in the form array('hostPattern' => '
bool
Details
__construct(array $options)
Expects options in the form array('hostPattern' => '
bool
matchRequest(ActionRequest $request)
Matches an ActionRequest against its set host pattern rules