NotificationRequest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A sendData() 0 4 1
1
<?php
2
3
/**
4
 * InterKassa driver for the Omnipay PHP payment processing library
5
 *
6
 * @link      https://github.com/ange007/omnipay-interkassa
7
 * @package   omnipay-interkassa
8
 * @license   MIT
9
 * @copyright Copyright (c) 2017, ange007 ( original author: HiQDev - http://hiqdev.com/ )
10
 */
11
12
namespace Omnipay\InterKassa\Message;
13
14
/**
15
 * InterKassa Notification Request.
16
 * 
17
 * https://www.interkassa.com/documentation-sci/#sci-pay-notify
18
 */
19
class NotificationRequest extends AbstractRequest
20
{
21
	/**
22
	 * Send the request with specified data.
23
	 *
24
	 * @param mixed $data The data to send
25
	 *
26
	 * @return NotificationResponse
27
	 */
28
	public function sendData( $data )
29
	{
30
		return $this->response = new NotificationResponse( $this, $data );
31
	}
32
33
}
34