1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\MessageQueue\Consumer\Config\ConsumerConfigItem;
- /**
- * {@inheritdoc}
- */
- class Handler implements HandlerInterface
- {
- /**
- * @var string
- */
- private $type;
- /**
- * @var string
- */
- private $method;
- /**
- * {@inheritdoc}
- */
- public function getType()
- {
- return $this->type;
- }
- /**
- * {@inheritdoc}
- */
- public function getMethod()
- {
- return $this->method;
- }
- /**
- * {@inheritdoc}
- */
- public function setData(array $data)
- {
- $this->type = $data['type'];
- $this->method = $data['method'];
- }
- }
|