You are here

public function RedisPrefixTrait::setPrefix in Redis 8

Set prefix

Parameters

string $prefix:

File

src/RedisPrefixTrait.php, line 73

Class

RedisPrefixTrait

Namespace

Drupal\redis

Code

public function setPrefix($prefix) {
  $this->prefix = $prefix;
}