Skip to content

Commit

Permalink
Merge pull request #13 from tioncico/2.x
Browse files Browse the repository at this point in the history
新增redisConfig对外配置接口
kiss291323003 authored Oct 18, 2019
2 parents df9f9cf + 16d6e74 commit 8958e83
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/RedisPool.php
Original file line number Diff line number Diff line change
@@ -43,4 +43,22 @@ protected function createObject()

return $redis;
}

/**
* @return RedisConfig
*/
public function getRedisConfig(): RedisConfig
{
return $this->redisConfig;
}

/**
* @param RedisConfig $redisConfig
*/
public function setRedisConfig(RedisConfig $redisConfig): void
{
$this->redisConfig = $redisConfig;
}


}

0 comments on commit 8958e83

Please sign in to comment.