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

Method toKey

php/src/QueueKeys.php:71–74  ·  view source on GitHub ↗

* Generate a key for a specific type. * * @param string $name Queue name * @param string $type Key type */

(string $name, string $type)

Source from the content-addressed store, hash-verified

69 * @param string $type Key type
70 */
71 public function toKey(string $name, string $type): string
72 {
73 return "{$this->getQueueQualifiedName($name)}:{$type}";
74 }
75
76 /**
77 * Get the fully qualified queue name.

Callers 1

getKeysMethod · 0.95

Calls 1

getQueueQualifiedNameMethod · 0.95

Tested by

no test coverage detected