Status::__construct( BigCommerceWebhooksWebhook[] $hooks, BigCommerceApiWebhooks_Api $api )

Summary

Status constructor.


Parameters

$hooks

(BigCommerceWebhooksWebhook[]) (Required)

$api

(BigCommerceApiWebhooks_Api) (Required)


Source

File: src/BigCommerce/Webhooks/Status.php

	public function __construct( array $hooks, Webhooks_Api $api ) {
		$this->api = $api;
		foreach ( $hooks as $hook ) {
			$this->hooks[ $hook->get_name() ] = $hook;
		}
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.