src/DataReceiver.php
public function toArray()
    {
        $this->data->id = $this->id;

        return json_decode(json_encode($this->data), true);
    }
public function toArray()
    {
        $this->data->id = $this->id;

        return json_decode(json_encode($this->data), true);
    }
public function toArray ( ) { $ this -> data -> id = $ this -> id ; return json_decode ( json_encode ( $ this -> data ) , true ) ; }
Get the request data

@return array
Get the request data