LeKoala\SparkPost\SparkPostController
Provide extensions points for handling the webhook
- Author: LeKoala <thomas@lekoala.be>
Synopsis
class SparkPostController
extends Controller
{
- // members
- protected integer $eventsCount = 0;
- protected integer $skipCount = 0;
- private static array $allowed_actions = ;
- private static array $dependencies = ;
- public LoggerInterface $logger;
- // methods
- public void index()
- public void test()
- public string configure_inbound_emails()
- public void incoming()
- protected void processPayload()
- public CacheInterface getLogger()
Hierarchy
Extends
- SilverStripe\Control\Controller
Members
private
- $allowed_actions
- $dependencies
—
array
Inject public dependencies into the controller
protected
- $eventsCount
- $skipCount
public
Methods
protected
- processPayload() — Process data
public
- configure_inbound_emails()
- getLogger() — Get logger
- incoming() — Handle incoming webhook
- index()
- test() — You can also see /resources/sample.json