class SourceReader

Methods

static mixed
read(array|Normalized $source, array $path, DataProperty $property)

Read one property from a normalized source.

static mixed
readPath(mixed $value, array $path, int $offset)

Traverse literal path segments through arrays and accessible objects.

Details

at line 19
static mixed read(array|Normalized $source, array $path, DataProperty $property)

Read one property from a normalized source.

Parameters

array|Normalized $source
array $path
DataProperty $property

Return Value

mixed

at line 48
static protected mixed readPath(mixed $value, array $path, int $offset)

Traverse literal path segments through arrays and accessible objects.

Parameters

mixed $value
array $path
int $offset

Return Value

mixed