Your IP : 216.73.217.95


Current Path : /home/rtorresani/www/vendor/stripe/module-payments/Observer/
Upload File :
Current File : //home/rtorresani/www/vendor/stripe/module-payments/Observer/WebhooksConfigurationObserver.php

<?php

namespace StripeIntegration\Payments\Observer;

use Magento\Framework\Event\Observer;
use Magento\Payment\Observer\AbstractDataAssignObserver;
use StripeIntegration\Payments\Helper\Logger;

class WebhooksConfigurationObserver extends AbstractDataAssignObserver
{
    private $webhooksSetup;

    public function __construct(
        \StripeIntegration\Payments\Helper\WebhooksSetup $webhooksSetup
    )
    {
        $this->webhooksSetup = $webhooksSetup;
    }

    public function execute(\Magento\Framework\Event\Observer $observer)
    {
        $event = $observer->getEvent();
        $this->webhooksSetup->onWebhookCreated($event);
    }
}