UrlPathStartswithCaseInsensitive
class UrlPathStartswithCaseInsensitive extends UrlPathStartswith
A case insensitive rule to match beginning of URL
Traits
Path aware trait for rules and bypasses
Methods
bool
checkRequestForBypass(HTTPRequest $request)
Check the request for whether we can bypass the confirmation
from UrlPathStartswith
null|Item
getRequestConfirmationItem(HTTPRequest $request)
Check the request by the rule and return a confirmation item
from UrlPathStartswith
Details
in PathAware at line 20
string
getPath()
Returns the path
in PathAware at line 32
$this
setPath(string $path)
Update the path
in UrlPathStartswith at line 20
__construct(string $path)
Initialize the rule with the path
in UrlPathStartswith at line 68
bool
checkRequestForBypass(HTTPRequest $request)
Check the request for whether we can bypass the confirmation
in UrlPathStartswith at line 73
null|Item
getRequestConfirmationItem(HTTPRequest $request)
Check the request by the rule and return a confirmation item