Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
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 | ||
Результат | string | boolean |
public setMatchElement ( string $element ) | ||
$element | string |
public setRequest ( |
||
$request |
protected string $element | ||
Результат | string |
protected string $itemNumber | ||
Результат | string |
protected string $regex | ||
Результат | string |