DigitalOceanPHP / Client

DigitalOcean API v2 client for PHP
MIT License
710 stars 205 forks source link

Meta.php Entity class, what is it for? #301

Closed sdwru closed 2 years ago

sdwru commented 2 years ago

I don't see Meta class used anywhere in the code or mentioned in the docs. I can see what it is intended to access on the API but how do I use it? Seems to me there should maybe be a generic method in AbstractApi.php to access it. Perhaps just using something like

__call($method, $args) {
  // Some code to access MetaEntity
}
GrahamCampbell commented 2 years ago

Correct, there is no meta entity, and it is not intended that consumers of this library should need to access it. This library already provides a pagination abstraction.