in src/FacebookAds/Cursor.php [197:215]
protected function appendResponse(ResponseInterface $response) {
$this->response = $response;
$data = $this->assureResponseData($response);
if (empty($data)) {
return;
}
if ($this->indexRight === null) {
$this->indexLeft = 0;
$this->indexRight = -1;
$this->position = 0;
}
$this->indexRight += count($data);
foreach ($data as $object_data) {
$this->objects[] = $this->createObject($object_data);
}
}