GatewayException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace CloudyCity\IPayNowSDK\Exceptions;
4
5
class GatewayException extends Exception
6
{
7
    /**
8
     * Bootstrap.
9
     *
10
     * @param string       $message
11
     * @param array|string $raw
12
     * @param int          $code
13
     */
14
    public function __construct($message, $raw = [], $code = self::ERROR_GATEWAY)
15
    {
16
        parent::__construct('ERROR_GATEWAY: '.$message, $raw, $code);
17
    }
18
}
19