src/OAuth2/Storage/DynamoDB.php
private function dynamo2array($dynamodbResult)
    {
        $result = array();
        foreach ($dynamodbResult["Item"] as $key => $val) {
            $result[$key] = $val["S"];
            $result[] = $val["S"];
        }

        return $result;
    }
private function dynamo2array($dynamodbResult)
    {
        $result = array();
        foreach ($dynamodbResult["Item"] as $key => $val) {
            $result[$key] = $val["S"];
            $result[] = $val["S"];
        }

        return $result;
    }
private function dynamo2array ( $ dynamodbResult ) { $ result = array ( ) ; foreach ( $ dynamodbResult [ "Item" ] as $ key => $ val ) { $ result [ $ key ] = $ val [ "S" ] ; $ result [ ] = $ val [ "S" ] ; } return $ result ; }
Transform dynamodb resultset to an array.
@param $dynamodbResult
@return $array
Transform dynamodb resultset to an array .