Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Amasty\QExample\Model\Customer;
- use Magento\Customer\Api\Data\CustomerInterface;
- /**
- * Class DeleteConsumer
- * @package Amasty\QExample\Model\Customer
- */
- class DeleteConsumer
- {
- /**
- * DeleteConsumer constructor.
- */
- public function __construct()
- {
- //do smth what you need in constructor
- }
- /**
- * @param CustomerInterface $customer
- */
- public function processMessage(CustomerInterface $customer)
- {
- // clean up data actions for customer
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement