src/CMDBObjects.php
public function update(array $objects) {
        $requests = [];

        foreach ($objects as $object) {
            $requests[] = [
                'method' => 'cmdb.object.update',
                'params' => $object
            ];
        }

        $this->api->batchRequest($requests);

        return $this;
    }
public function update(array $objects) {
        $requests = [];

        foreach ($objects as $object) {
            $requests[] = [
                'method' => 'cmdb.object.update',
                'params' => $object
            ];
        }

        $this->api->batchRequest($requests);

        return $this;
    }
public function update ( array $ objects ) { $ requests = [ ] ; foreach ( $ objects as $ object ) { $ requests [ ] = [ 'method' => 'cmdb.object.update' , 'params' => $ object ] ; } $ this -> api -> batchRequest ( $ requests ) ; return $ this ; }
Update one or more existing objects

@param array $objects Indexed array of object attributes ('id' and 'title')

@return self Returns itself

@throws Exception on error
Update one or more existing objects