<?php
namespace NicolasBejean\Customer\Observer;

use Magento\Framework\Event\Observer;
use Magento\Framework\Event\ObserverInterface;

/**
 * Class SendCustomerDataToElasticsearch
 *
 * @category PHP
 * @package  NicolasBejean\Customer\Observer
 * @author   Nicolas Béjean <nicolas@bejean.eu>
 * @license  https://lab.frogg.it/bejean-developpement/magento-2/modules/customer/-/blob/master/LICENCE GPL3 Licence
 * @link     https://www.bejean.eu
 */
class SendCustomerDataToElasticsearch implements ObserverInterface
{
    public function __construct() {}

    /**
     * Execute method
     *
     * @param Observer $observer
     */
    public function execute(Observer $observer)
    {
        $event = $observer->getEvent();

        if ($event->getName() === 'customer_register_success') {

        }
    }
}