Sync/DiffProvider/Binlog/BinlogDecorator.php
public function applyMapping($params, $mapping)
    {
        $newParams = [];

        foreach ($params as $key => $value) {
            $newParams[$mapping[$key]] = $value;
        }

        return $newParams;
    }
public function applyMapping($params, $mapping)
    {
        $newParams = [];

        foreach ($params as $key => $value) {
            $newParams[$mapping[$key]] = $value;
        }

        return $newParams;
    }
Applies associative mapping to numbered columns.

@param array      $params
@param array|bool $mapping

@return array