public function markAsDisappeared($message = null)
    {
        if (!is_null($message)) {
            $this->setMessages($message);
        }
        $this
            ->setStatus(self::STATUS_DISAPPEARED)
            ->setFinishedAt($this->getLastSeen())
            ->save();

        $this->log(sprintf('Job "%s" (id: %s) disappeared. Message: %s', $this->getJobCode(), $this->getId(), $message));
    }
public function markAsDisappeared($message = null)
    {
        if (!is_null($message)) {
            $this->setMessages($message);
        }
        $this
            ->setStatus(self::STATUS_DISAPPEARED)
            ->setFinishedAt($this->getLastSeen())
            ->save();

        $this->log(sprintf('Job "%s" (id: %s) disappeared. Message: %s', $this->getJobCode(), $this->getId(), $message));
    }
public function markAsDisappeared ( $ message = null ) { if ( ! is_null ( $ message ) ) { $ this -> setMessages ( $ message ) ; } $ this -> setStatus ( self :: STATUS_DISAPPEARED ) -> setFinishedAt ( $ this -> getLastSeen ( ) ) -> save ( ) ; $ this -> log ( sprintf ( 'Job "%s" (id: %s) disappeared. Message: %s' , $ this -> getJobCode ( ) , $ this -> getId ( ) , $ message ) ) ; }
Mark task as disappeared

@param string $message
@return void
Mark task as disappeared