public function ManagementApiEdgeEntityControllerProxy::loadAll in Apigee Edge 8
Loads _all_ entities from Apigee Edge.
All entities, even on pagination enabled endpoints, this method must return all entities even it requires multiple API calls.
Return value
\Apigee\Edge\Entity\EntityInterface[] Array of entities.
Overrides EdgeEntityControllerInterface::loadAll
File
- src/
Entity/ Controller/ ManagementApiEdgeEntityControllerProxy.php, line 90
Class
- ManagementApiEdgeEntityControllerProxy
- Management API specific default entity controller implementation.
Namespace
Drupal\apigee_edge\Entity\ControllerCode
public function loadAll() : array {
// Luckily we solved in the PHP API client that even on paginated endpoints
// all entities can be retrieved with one single method call.
return $this->controller
->getEntities();
}