Method | Description | |
---|---|---|
getPatterns ( ) : array | Returns a hash with replace patterns. | |
regexCallback ( array $matches ) : string | Preg callback. |
public getPatterns ( ) : array | ||
return | array | Patterns hash. |
public regexCallback ( array $matches ) : string | ||
$matches | array | preg_replace_callback() matches. |
return | string | The replacement string. |