Vulcan\StripeWebhook\StripeWebhook
Synopsis
class StripeWebhook
implements
Flushable
{
- // members
- private static boolean $secret_key = false;
- private static boolean $endpoint_secret = false;
- // methods
- public void __construct()
- public string getSecret()
- public string getEndpointSecret()
- public array|mixed getHandlers()
- public static void flush()
Hierarchy
Uses
- SilverStripe\Core\Injector\Injectable
- SilverStripe\Core\Config\Configurable
Implements
- SilverStripe\Core\Flushable
Members
private
- $endpoint_secret
- $secret_key
Methods
public
- __construct()
- flush() — This function is triggered early in the request if the "flush" query parameter has been set. Each class that implements Flushable implements this function which looks after it's own specific flushing functionality.
- getEndpointSecret()
- getHandlers() — Returns a multi-dimensional array of classes indexed by the event they handle
- getSecret()