MCPcopy Create free account
hub / github.com/taskforcesh/bullmq / __construct

Method __construct

php/src/Scripts.php:41–48  ·  view source on GitHub ↗
(string $prefix, string $queueName, RedisConnection $redisConnection)

Source from the content-addressed store, hash-verified

39 private static array $scriptCache = [];
40
41 public function __construct(string $prefix, string $queueName, RedisConnection $redisConnection)
42 {
43 $this->queueName = $queueName;
44 $this->client = $redisConnection->getClient();
45 $this->queueKeys = new QueueKeys($prefix);
46 $this->keys = $this->queueKeys->getKeys($queueName);
47 $this->packer = new Packer();
48 }
49
50 /**
51 * Get the key for a specific type.

Callers

nothing calls this directly

Calls 2

getClientMethod · 0.80
getKeysMethod · 0.45

Tested by

no test coverage detected