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; }