SchemaPath
class SchemaPath implements Stringable
Methods
__construct(array $segments = [])
Create a path through object properties.
static SchemaPath
root()
Create the root path.
child(string $segment)
Create a path to the named child property.
mixed
valueIn(array $arguments)
Resolve this path in the supplied arguments.
string
__toString()
Convert the path to a JSON pointer.
Details
at line 17
__construct(array $segments = [])
Create a path through object properties.
at line 24
static SchemaPath
root()
Create the root path.
at line 32
SchemaPath
child(string $segment)
Create a path to the named child property.
at line 42
mixed
valueIn(array $arguments)
Resolve this path in the supplied arguments.
at line 64
string
__toString()
Convert the path to a JSON pointer.