You are here

protected function TeamAppQuery::appByOwnerController in Apigee Edge 8

Returns an app by owner controller.

Parameters

string $owner: The owner an of an app.

Return value

\Apigee\Edge\Api\Management\Controller\AppByOwnerControllerInterface The app by owner controller instance for the owner.

Overrides AppQueryBase::appByOwnerController

File

modules/apigee_edge_teams/src/Entity/Query/TeamAppQuery.php, line 41

Class

TeamAppQuery
Defines an entity query class for team app entities.

Namespace

Drupal\apigee_edge_teams\Entity\Query

Code

protected function appByOwnerController(string $owner) : AppByOwnerControllerInterface {

  /** @var \Drupal\apigee_edge_teams\Entity\Controller\TeamAppControllerFactoryInterface $team_app_controller_factory */
  $team_app_controller_factory = \Drupal::service('apigee_edge_teams.controller.team_app_controller_factory');
  return $team_app_controller_factory
    ->teamAppController($owner);
}