src/DataReceiver.php
public function payload(array $data)
    {
        foreach ($data as $key => $value) {
            $this->data->{$key} = $value;
        }

        return $this;
    }
public function payload(array $data)
    {
        foreach ($data as $key => $value) {
            $this->data->{$key} = $value;
        }

        return $this;
    }
public function payload ( array $ data ) { foreach ( $ data as $ key => $ value ) { $ this -> data -> { $ key } = $ value ; } return $ this ; }
Payload the request

@param array $data

@return $this
Payload the request