Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
SendCustomerDataToElasticsearch.php 815 B
Newer Older
  • Learn to ignore specific revisions
  • Nicolas's avatar
    Nicolas committed
    <?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') {
    
            }
        }
    }