public function populateFromDynamoDB(array $data)
    {
        foreach ($data as $name => $value) {
            list ($type, $value) = each($value);
            $this->setAttribute($name, $value, $type);
        }
    }
public function populateFromDynamoDB(array $data)
    {
        foreach ($data as $name => $value) {
            list ($type, $value) = each($value);
            $this->setAttribute($name, $value, $type);
        }
    }
public function populateFromDynamoDB ( array $ data ) { foreach ( $ data as $ name => $ value ) { list ( $ type , $ value ) = each ( $ value ) ; $ this -> setAttribute ( $ name , $ value , $ type ) ; } }
Populate attributes from the raw DynamoDB response
@param array $data
Populate attributes from the raw DynamoDB response