Advertisement
Guest User

Untitled

a guest
Nov 14th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.48 KB | None | 0 0
  1. <?php
  2. namespace Amasty\QExample\Model\Customer;
  3. use Magento\Customer\Api\Data\CustomerInterface;
  4. /**
  5.  * Class DeleteConsumer
  6.  * @package Amasty\QExample\Model\Customer
  7.  */
  8. class DeleteConsumer
  9. {
  10.  /**
  11.  * DeleteConsumer constructor.
  12.  */
  13.  public function __construct()
  14.  {
  15.  //do smth what you need in constructor
  16.  }
  17. /**
  18.  * @param CustomerInterface $customer
  19.  */
  20.  public function processMessage(CustomerInterface $customer)
  21.  {
  22.  // clean up data actions for customer
  23.  }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement