src/Payload/QueuedPayload.php
function withData($data)
    {
        $n = clone $this;
        $p = clone $this->payload;
        $p = $p->withData($data);
        $n->payload = $p;
        return $n;
    }
function withData($data)
    {
        $n = clone $this;
        $p = clone $this->payload;
        $p = $p->withData($data);
        $n->payload = $p;
        return $n;
    }
function withData ( $ data ) { $ n = clone $ this ; $ p = clone $ this -> payload ; $ p = $ p -> withData ( $ data ) ; $ n -> payload = $ p ; return $ n ; }
With Given Payload

@param mixed $data Serializable payload

@return $this
With Given Payload