Property | Type | Description | |
---|---|---|---|
$element | string | Element that will be matched against the regex. | |
$itemNumber | string | Item number to pick in regex. | |
$matchedSiteAccess | string | ||
$regex | string | Regular expression used for matching. | |
$request |
Method | Description | |
---|---|---|
__construct ( string $regex, integer $itemNumber ) | Constructor. | |
__sleep ( ) | ||
match ( ) | ||
setMatchElement ( string $element ) | Injects element to match against with the regexp. | |
setRequest ( |
Injects the request object to match against. |
Method | Description | |
---|---|---|
getMatchedSiteAccess ( ) : string | boolean | Returns matched SiteAccess. |
public __construct ( string $regex, integer $itemNumber ) | ||
$regex | string | Regular Expression to use. |
$itemNumber | integer | Item number to pick in regex. |
protected getMatchedSiteAccess ( ) : string | boolean | ||
return | string | boolean |
public setMatchElement ( string $element ) | ||
$element | string |
public setRequest ( |
||
$request |
protected string $element | ||
return | string |
protected string $itemNumber | ||
return | string |
protected string $regex | ||
return | string |