JsonPointer
in package
Tags
Table of Contents
Properties
- $filename : string
- $fromDefault : bool
- $propertyPaths : array<string|int, string>
Methods
- __construct() : mixed
- __toString() : string
- fromDefault() : bool
- Check whether the value at this path was set from a schema default
- getFilename() : string
- getPropertyPathAsString() : string
- getPropertyPaths() : array<string|int, string>
- setFromDefault() : mixed
- Mark the value at this path as being set from a schema default
- withPropertyPaths() : JsonPointer
- decodePath() : string
- decodePropertyPaths() : array<string|int, string>
- encodePath() : string
- encodePropertyPaths() : array<string|int, mixed>
Properties
$filename
private
string
$filename
$fromDefault
private
bool
$fromDefault
= false
Whether the value at this path was set from a schema default
$propertyPaths
private
array<string|int, string>
$propertyPaths
= array()
Methods
__construct()
public
__construct(string $value) : mixed
Parameters
- $value : string
Tags
__toString()
public
__toString() : string
Return values
stringfromDefault()
Check whether the value at this path was set from a schema default
public
fromDefault() : bool
Return values
boolgetFilename()
public
getFilename() : string
Return values
stringgetPropertyPathAsString()
public
getPropertyPathAsString() : string
Return values
stringgetPropertyPaths()
public
getPropertyPaths() : array<string|int, string>
Return values
array<string|int, string>setFromDefault()
Mark the value at this path as being set from a schema default
public
setFromDefault() : mixed
withPropertyPaths()
public
withPropertyPaths(array<string|int, mixed> $propertyPaths) : JsonPointer
Parameters
- $propertyPaths : array<string|int, mixed>
Return values
JsonPointerdecodePath()
private
decodePath(string $path) : string
Parameters
- $path : string
Return values
stringdecodePropertyPaths()
private
decodePropertyPaths(string $propertyPathString) : array<string|int, string>
Parameters
- $propertyPathString : string
Return values
array<string|int, string>encodePath()
private
encodePath(string $path) : string
Parameters
- $path : string
Return values
stringencodePropertyPaths()
private
encodePropertyPaths() : array<string|int, mixed>