src/Resources/BaseDbTableResource.php
protected function addToTransaction(
        $record = null,
        $id = null,
        /** @noinspection PhpUnusedParameterInspection */
        $extras = null,
        /** @noinspection PhpUnusedParameterInspection */
        $rollback = false,
        /** @noinspection PhpUnusedParameterInspection */
        $continue = false,
        /** @noinspection PhpUnusedParameterInspection */
        $single = false
    ) {
        if (!empty($record)) {
            $this->batchRecords[] = $record;
        }
        if (!is_null($id)) {
            $this->batchIds[] = $id;
        }

        return null;
    }
protected function addToTransaction(
        $record = null,
        $id = null,
        /** @noinspection PhpUnusedParameterInspection */
        $extras = null,
        /** @noinspection PhpUnusedParameterInspection */
        $rollback = false,
        /** @noinspection PhpUnusedParameterInspection */
        $continue = false,
        /** @noinspection PhpUnusedParameterInspection */
        $single = false
    ) {
        if (!empty($record)) {
            $this->batchRecords[] = $record;
        }
        if (!is_null($id)) {
            $this->batchIds[] = $id;
        }

        return null;
    }
@param mixed      $record
@param mixed      $id
@param null|array $extras Additional items needed to complete the transaction
@param bool       $rollback
@param bool       $continue
@param bool       $single

@return null|array Array of output fields