You are here

public function TeamAppEdgeEntityControllerProxy::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

modules/apigee_edge_teams/src/Entity/Controller/TeamAppEdgeEntityControllerProxy.php, line 115

Class

TeamAppEdgeEntityControllerProxy
Team app specific entity controller implementation.

Namespace

Drupal\apigee_edge_teams\Entity\Controller

Code

public function loadAll() : array {
  return array_filter($this->appController
    ->listApps(TRUE), function (AppInterface $app) {
    return $app instanceof CompanyAppInterface;
  });
}