public function getQueueableId()
    {
        if (isset($this->attributes[$this->getKeyName()])) {
            return $this->getKey();
        }

        return sprintf(
            '%s:%s:%s:%s:%s:%s',
            $this->foreignKey, $this->getAttribute($this->foreignKey),
            $this->relatedKey, $this->getAttribute($this->relatedKey),
            $this->morphType, $this->morphClass
        );
    }
public function getQueueableId()
    {
        if (isset($this->attributes[$this->getKeyName()])) {
            return $this->getKey();
        }

        return sprintf(
            '%s:%s:%s:%s:%s:%s',
            $this->foreignKey, $this->getAttribute($this->foreignKey),
            $this->relatedKey, $this->getAttribute($this->relatedKey),
            $this->morphType, $this->morphClass
        );
    }
public function getQueueableId ( ) { if ( isset ( $ this -> attributes [ $ this -> getKeyName ( ) ] ) ) { return $ this -> getKey ( ) ; } return sprintf ( '%s:%s:%s:%s:%s:%s' , $ this -> foreignKey , $ this -> getAttribute ( $ this -> foreignKey ) , $ this -> relatedKey , $ this -> getAttribute ( $ this -> relatedKey ) , $ this -> morphType , $ this -> morphClass ) ; }
Get the queueable identity for the entity.

@return mixed
Get the queueable identity for the entity .