NotFilter
class NotFilter implements FilterInterface
NotFilter class.
The NotFilter inverts the result of its value. The value of the NotFilter must be another constraint.
A typical use case for the NotFilter is the inversion of whitelists to blacklists.
{
"not": {
"equals": [{"doc": "sys.contentType.sys.id"}, "content-type-id"]
}
}
Methods
Details
at line 40
__construct(FilterInterface $child)
NotConstraint constructor.
at line 45
getChild()
at line 53
NotFilter
setChild(FilterInterface $child)
at line 63
jsonSerialize()
{@inheritdoc}