/** * @param $key * @param $near \Redis::BEFORE | \Redis::AFTER * @param $targetValue * @param $insertValue * @return int */ public function insert($key, $near, $targetValue, $insertValue) { return $this->client->lInsert($key, $near, $targetValue, $insertValue); }