GDS\Gateway\ProtoBuf::deleteMulti PHP Method

deleteMulti() public method

Consumes Schema
public deleteMulti ( array $arr_entities ) : boolean
$arr_entities array
return boolean
    public function deleteMulti(array $arr_entities)
    {
        $obj_mapper = $this->createMapper();
        $obj_request = $this->setupCommit();
        $obj_mutation = $obj_request->mutableDeprecatedMutation();
        foreach ($arr_entities as $obj_gds_entity) {
            $this->applyNamespace($obj_mapper->configureGoogleKey($obj_mutation->addDelete(), $obj_gds_entity));
        }
        $this->execute('Commit', $obj_request, new CommitResponse());
        $this->obj_schema = null;
        return TRUE;
        // really?
    }