Request_Exception   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 17
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
namespace OpenBuildings\PayPal;
4
5
/**
6
 * @author Haralan Dobrev <[email protected]>
7
 * @copyright 2013 OpenBuildings, Inc.
8
 * @license http://spdx.org/licenses/BSD-3-Clause
9
 */
10
class Request_Exception extends Exception {
11
12
	public $url;
13
14
	public $params = array();
15
16
	public $response;
17
18
	public function __construct($message, $url, $params, $variables = array(), $response = NULL)
19
	{
20
		$this->url = $url;
21
		$this->params = $params;
22
		$this->response = $response;
23
24
		parent::__construct($message, $variables);
25
	}
26
}
27