Open fengmiq opened 3 years ago
Hello fengmiq, thanks for reaching out with this issue. I'll have a look into it!
Hello fengmiq, find() is returning a cursor which is implementing the iterator. This cursor has not fetched any data from the backend, yet. The cursor will only fetch the data via lazy loading when its iterated. You could use the function iterator_to_array for example.
$client = ClientBuilder::create()->setClientKey($client_key)->setClientSecret($client_seccret)->build(); $result = $client->warehouses()->find();
return data is null
can you help me?