Handler¶
-
class
DreamCommerce\ShopAppstoreLib\
Handler
¶
It’s an object for handling automatic messages from AppStore. It’s event-based which allows to easily bind many handlers to the particular event (eg. for installation handler, it’s possible to bind database storing, cache purging, etc).
See DreamCommerce\ShopAppstoreLib\HandlerInterface
.
methods¶
-
DreamCommerce\ShopAppstoreLib\Handler::
__construct
($entrypoint, $clientId, $secret, $appStoreSecret)¶ Class constructor
Parameters: - $entrypoint (string) – shop URL - in case of webapi/rest is not a part of URL, it will be automatically appended
- $clientId (string) – application ID
- $secret (string) – API key
- $appStoreSecret (string) – secret code