public function __construct(string $queueName, string $id, string $serialized, \DateTimeInterface $dateTime) { $this->queueName = $queueName; $this->id = $id; $this->serialized = $serialized; $this->dateTime = $dateTime; }