src/Cache/ExpiringCache.php
protected function packRecord($record = []) {
        $tsKey = $this->timestampKey;
        $dtKey = $this->dataKey;
        $data = $record;
        $record = [];
        $record[$dtKey] = $data;
        $record[$tsKey] = time();
        return $record;
    }
protected function packRecord($record = []) {
        $tsKey = $this->timestampKey;
        $dtKey = $this->dataKey;
        $data = $record;
        $record = [];
        $record[$dtKey] = $data;
        $record[$tsKey] = time();
        return $record;
    }
Pack record into array with needed format
@param mixed $record
@return array