push(self::QUEUE_RUNNING, $consumer, $score); } /** * @param $consumer * @return false|int * @throws ComponentException */ public function del(string $consumer) { $consumer = unserialize($consumer); if (!($consumer instanceof Consumer)) { return true; } return $this->pop(self::QUEUE_RUNNING, $consumer); } }