You are here

public function AppCredentialDeleteApiProductEvent::__construct in Apigee Edge 8

AppCredentialDeleteApiProductEvent constructor.

Parameters

string $app_type: Either company or developer.

string $owner_id: Company name or developer id (email) depending on the appType.

string $app_name: Name of the app.

\Apigee\Edge\Api\Management\Entity\AppCredentialInterface $credential: The app credential that has been created.

string $api_product: Name of the API product that has been removed.

Overrides AbstractAppCredentialEvent::__construct

File

src/Event/AppCredentialDeleteApiProductEvent.php, line 58

Class

AppCredentialDeleteApiProductEvent
Triggered after an API product have been removed from an app credential.

Namespace

Drupal\apigee_edge\Event

Code

public function __construct(string $app_type, string $owner_id, string $app_name, AppCredentialInterface $credential, string $api_product) {
  parent::__construct($app_type, $owner_id, $app_name, $credential);
  $this->apiProduct = $api_product;
}