public function mergeWith(JsonResponse $response) { $this->data = array_merge($this->data, $response->getData()); }