RegexpFilter
class RegexpFilter implements FilterInterface
RegexpFilter class.
The RegexpFilter can be used to compare a resource's field or metadata against a specific pattern.
{
"regexp": [{"doc": "sys.environment.sys.id"}, {"pattern": "^ci-.+$"}]
}
Methods
__construct(string $doc, string $pattern)
RegexpFilter constructor.
getDoc()
No description
setDoc(string $doc)
No description
getPattern()
No description
setPattern(string $pattern)
No description
jsonSerialize()
{@inheritdoc}
Details
at line 41
__construct(string $doc, string $pattern)
RegexpFilter constructor.
at line 47
getDoc()
at line 55
RegexpFilter
setDoc(string $doc)
at line 62
getPattern()
at line 70
RegexpFilter
setPattern(string $pattern)
at line 80
jsonSerialize()
{@inheritdoc}