src/Phpforce/SoapClient/BulkSaver.php
private function addBulkCreateRecord($record, $objectType)
    {
        if (isset($this->bulkCreateRecords[$objectType])
            && count($this->bulkCreateRecords[$objectType]) == $this->bulkSaveLimit) {
            $this->flushCreates($objectType);
        }

        $this->bulkCreateRecords[$objectType][] = $record;
    }
private function addBulkCreateRecord($record, $objectType)
    {
        if (isset($this->bulkCreateRecords[$objectType])
            && count($this->bulkCreateRecords[$objectType]) == $this->bulkSaveLimit) {
            $this->flushCreates($objectType);
        }

        $this->bulkCreateRecords[$objectType][] = $record;
    }
private function addBulkCreateRecord ( $ record , $ objectType ) { if ( isset ( $ this -> bulkCreateRecords [ $ objectType ] ) && count ( $ this -> bulkCreateRecords [ $ objectType ] ) == $ this -> bulkSaveLimit ) { $ this -> flushCreates ( $ objectType ) ; } $ this -> bulkCreateRecords [ $ objectType ] [ ] = $ record ; }
Add a record to the create queue

@param sObject $sObject
@param type $objectType
Add a record to the create queue