Properties

$filename

$filename : string

Type

string

$propertyPaths

$propertyPaths : array<mixed,string>

Type

array<mixed,string>

$fromDefault

$fromDefault : boolean

Type

boolean — Whether the value at this path was set from a schema default

Methods

__construct()

__construct(string  $value) 

Parameters

string $value

Throws

\JsonSchema\Exception\InvalidArgumentException

when $value is not a string

getFilename()

getFilename() : string

Returns

string

getPropertyPaths()

getPropertyPaths() : array<mixed,string>

Returns

array<mixed,string>

withPropertyPaths()

withPropertyPaths(array  $propertyPaths) : \JsonSchema\Entity\JsonPointer

Parameters

array $propertyPaths

Returns

\JsonSchema\Entity\JsonPointer

getPropertyPathAsString()

getPropertyPathAsString() : string

Returns

string

__toString()

__toString() : string

Returns

string

setFromDefault()

setFromDefault() 

Mark the value at this path as being set from a schema default

fromDefault()

fromDefault() : boolean

Check whether the value at this path was set from a schema default

Returns

boolean

decodePropertyPaths()

decodePropertyPaths(string  $propertyPathString) : array<mixed,string>

Parameters

string $propertyPathString

Returns

array<mixed,string>

encodePropertyPaths()

encodePropertyPaths() : array

Returns

array

decodePath()

decodePath(string  $path) : string

Parameters

string $path

Returns

string

encodePath()

encodePath(string  $path) : string

Parameters

string $path

Returns

string