GDS\Gateway\ProtoBuf::extractAutoIDs PHP Method

extractAutoIDs() protected method

Extract Auto Insert IDs from the last response
protected extractAutoIDs ( ) : array
return array
    protected function extractAutoIDs()
    {
        $arr_ids = [];
        foreach ($this->obj_last_response->getDeprecatedMutationResult()->getInsertAutoIdKeyList() as $obj_key) {
            $arr_key_path = $obj_key->getPathElementList();
            $obj_path_end = end($arr_key_path);
            $arr_ids[] = $obj_path_end->getId();
        }
        return $arr_ids;
    }