class PathsConstraint implements ConstraintInterface

PathsConstraint class.

The PathsConstraint can be used to allow access to resources matching specific paths.

{
  "paths": [{"doc": "fields.%.%"}]
}

Methods

__construct(string $doc = '')

PathsConstraint constructor.

getDoc()

No description

setDoc(string $doc)

No description

jsonSerialize()

{@inheritdoc}

Details

at line 36
__construct(string $doc = '')

PathsConstraint constructor.

Parameters

string $doc

at line 41
getDoc()

at line 49
PathsConstraint setDoc(string $doc)

Parameters

string $doc

Return Value

PathsConstraint

at line 59
jsonSerialize()

{@inheritdoc}