| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class HeidelpayNotificationProcessor implements HeidelpayNotificationProcessorInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var \SprykerEco\Zed\Heidelpay\Business\Processor\Notification\Expander\NotificationExpanderInterface |
||
| 18 | */ |
||
| 19 | protected $notificationExpander; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var \SprykerEco\Zed\Heidelpay\Business\Writer\HeidelpayWriterInterface |
||
| 23 | */ |
||
| 24 | protected $writer; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param \SprykerEco\Zed\Heidelpay\Business\Processor\Notification\Expander\NotificationExpanderInterface $notificationExpander |
||
| 28 | * @param \SprykerEco\Zed\Heidelpay\Business\Writer\HeidelpayWriterInterface $writer |
||
| 29 | */ |
||
| 30 | public function __construct( |
||
| 31 | NotificationExpanderInterface $notificationExpander, |
||
| 32 | HeidelpayWriterInterface $writer |
||
| 33 | ) { |
||
| 34 | $this->notificationExpander = $notificationExpander; |
||
| 35 | $this->writer = $writer; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param \Generated\Shared\Transfer\HeidelpayNotificationTransfer $notificationTransfer |
||
| 40 | * |
||
| 41 | * @return \Generated\Shared\Transfer\HeidelpayNotificationTransfer |
||
| 42 | */ |
||
| 43 | public function processNotification(HeidelpayNotificationTransfer $notificationTransfer): HeidelpayNotificationTransfer |
||
| 49 | } |
||
| 50 | } |
||
| 51 |