WordPress at a glance
function is not described

SimplePie_Cache_Redis::setRedisClient() public WP 1.0

{} It's a method of the class: SimplePie_Cache_Redis{}

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_Cache_Redis = new SimplePie_Cache_Redis();
$SimplePie_Cache_Redis->setRedisClient( $cache );
$cache(Redis) (required)
-

Code of SimplePie_Cache_Redis::setRedisClient() WP 5.7.2

<?php
public function setRedisClient(\Redis $cache) {
    $this->cache = $cache;
}