id; } /** * @param $payload * * @return EntityInterface */ public function setPayload($payload) { $this->payload = $payload; return $this; } /** * @return mixed */ public function getConnection() { return $this->connection; } /** * @return mixed */ public function getPayload() { return $this->payload; } /** * @return string */ public function getQueue() { return $this->queue; } /** * @return int */ public function getException() { return $this->exception; } /** * @param int $exception * * @return EntityInterface */ public function setException($exception) { $this->exception = $exception; return $this; } /** * @return \DateTime */ public function getFailedAt() { return $this->failedAt; } /** * @param string $connection * * @return EntityInterface */ public function setConnection($connection) { $this->connection = $connection; return $this; } /** * @param string $queue * * @return EntityInterface */ public function setQueue($queue) { $this->queue = $queue; return $this; } /** * @param \DateTime $failedAt * * @return EntityInterface */ public function setFailedAt(\DateTime $failedAt) { $this->failedAt = $failedAt; return $this; } }