JSONPathToken
Table of Contents
Constants
-
T_INDEX
= 'index'
-
T_INDEXES
= 'indexes'
-
T_QUERY_MATCH
= 'queryMatch'
-
T_QUERY_RESULT
= 'queryResult'
-
T_RECURSIVE
= 'recursive'
-
T_SLICE
= 'slice'
Properties
-
$type
: string
-
$value
: mixed
Methods
-
__construct()
: mixed
-
buildFilter()
: mixed
-
getTypes()
: array<string|int, mixed>
-
validateType()
: void
T_INDEX
public
mixed
T_INDEX
= 'index'
T_INDEXES
public
mixed
T_INDEXES
= 'indexes'
T_QUERY_MATCH
public
mixed
T_QUERY_MATCH
= 'queryMatch'
T_QUERY_RESULT
public
mixed
T_QUERY_RESULT
= 'queryResult'
T_RECURSIVE
public
mixed
T_RECURSIVE
= 'recursive'
T_SLICE
public
mixed
T_SLICE
= 'slice'
$type
public
string
$type
$value
public
mixed
$value
__construct()
public
__construct(string $type, mixed $value) : mixed
Parameters
-
$type
: string
-
-
$value
: mixed
-
-
throws
-
JSONPathException
buildFilter()
public
buildFilter(bool $options) : mixed
Parameters
-
$options
: bool
-
-
throws
-
JSONPathException
getTypes()
public
static getTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>
validateType()
public
validateType(string $type) : void
Parameters
-
$type
: string
-
-
throws
-
JSONPathException