/** * Fetch the packet for the worker * * @return array|false The worker packet or false */ public function getPacket() { if ($packet = $this->redis->hgetall(self::redisKey($this))) { return $packet; } return false; }