Google\Cloud\Datastore\EntityMapper::getPropertyValue PHP Method

getPropertyValue() private method

Determine the property type and return a converted value
private getPropertyValue ( array $property ) : mixed
$property array The API property
return mixed
    private function getPropertyValue(array $property)
    {
        $type = $this->getValueType($property);
        return $this->convertValue($type, $property[$type]);
    }