getKey('data'); } /** * Get queued items LIST key * * Key will already be prefixed * * @return string */ public function getKeyForQueue() { return $this->getKey('queued'); } /** * Get claimed LIST key * * Key will already be prefixed * * @return string */ public function getKeyForClaimed() { return $this->getKey('claimed'); } /** * Default contructor * * Beware that DrupalQueueInterface does not defines the __construct * method in the interface yet is being used from DrupalQueue::get() * * @param mixed $client * @param string $name */ public function __construct($client, $name) { parent::__construct($client, self::QUEUE_KEY_PREFIX . $name); } }