public static connection ( string $name = 'default' ) : Predis\ClientInterface | null | ||
$name | string | |
Résultat | Predis\ClientInterface | null |
public static function connection($name = 'default')
{
return \Illuminate\Redis\Database::connection($name);
}
function __construct(redisModel $subject, $objectName, $index) { $this->redis = Redis::connection(); $this->subject = $subject; $this->objectName = $objectName; $this->objectIndex = $index; }