You are here

protected function DeveloperAppQuery::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

src/Entity/Query/DeveloperAppQuery.php, line 40

Class

DeveloperAppQuery
Defines an entity query class for developer app entities.

Namespace

Drupal\apigee_edge\Entity\Query

Code

protected function appByOwnerController(string $owner) : AppByOwnerControllerInterface {

  /** @var \Drupal\apigee_edge\Entity\Controller\DeveloperAppControllerFactoryInterface $dev_app_controller_factory */
  $dev_app_controller_factory = \Drupal::service('apigee_edge.controller.developer_app_controller_factory');
  return $dev_app_controller_factory
    ->developerAppController($owner);
}