StringFragmentPattern
Table of Contents
Properties
Methods
- __construct() : mixed
- compilePattern() : string
- Compiles this string fragment pattern to a scoped PCRE pattern string.
- getPattern() : string
- getType() : string
Properties
$pattern
protected
string
$pattern
$type
protected
string
$type
Methods
__construct()
public
__construct(string $type, string $pattern) : mixed
Parameters
- $type : string
- $pattern : string
compilePattern()
Compiles this string fragment pattern to a scoped PCRE pattern string.
public
compilePattern() : string
Return values
stringgetPattern()
public
getPattern() : string
Return values
stringgetType()
public
getType() : string